1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+serialize | FileCheck %s --check-prefix=X86_64
3 ; RUN: llc < %s -mtriple=i386-unknown-unknown -mattr=+serialize | FileCheck %s --check-prefix=X86
4 ; RUN: llc < %s -mtriple=x86_64-linux-gnux32 -mattr=+serialize | FileCheck %s --check-prefix=X32
6 define void @test_serialize() {
7 ; X86_64-LABEL: test_serialize:
8 ; X86_64: # %bb.0: # %entry
9 ; X86_64-NEXT: serialize
12 ; X86-LABEL: test_serialize:
13 ; X86: # %bb.0: # %entry
17 ; X32-LABEL: test_serialize:
18 ; X32: # %bb.0: # %entry
22 call void @llvm.x86.serialize()
26 declare void @llvm.x86.serialize()