brintos

brintos / llvm-project-archived public Read only

0
0
Text · 830 B · 629bb6d Raw
27 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+serialize | FileCheck %s --check-prefix=X86_643; RUN: llc < %s -mtriple=i386-unknown-unknown -mattr=+serialize | FileCheck %s --check-prefix=X864; RUN: llc < %s -mtriple=x86_64-linux-gnux32 -mattr=+serialize | FileCheck %s --check-prefix=X325 6define void @test_serialize() {7; X86_64-LABEL: test_serialize:8; X86_64:       # %bb.0: # %entry9; X86_64-NEXT:    serialize10; X86_64-NEXT:    retq11;12; X86-LABEL: test_serialize:13; X86:       # %bb.0: # %entry14; X86-NEXT:    serialize15; X86-NEXT:    retl16;17; X32-LABEL: test_serialize:18; X32:       # %bb.0: # %entry19; X32-NEXT:    serialize20; X32-NEXT:    retq21entry:22  call void @llvm.x86.serialize()23  ret void24}25 26declare void @llvm.x86.serialize()27