[llvm-objcopy] [COFF] Implement --only-section
[llvm-core.git] / test / Linker / syncscopes.ll
bloba572c23cffbdb09ea3aae0d42363654c9971c3b8
1 ; RUN: llvm-link %S/Inputs/syncscope-1.ll %S/Inputs/syncscope-2.ll -S | FileCheck %s
3 ; CHECK-LABEL: define void @syncscope_1
4 ; CHECK: fence syncscope("agent") seq_cst
5 ; CHECK: fence syncscope("workgroup") seq_cst
6 ; CHECK: fence syncscope("wavefront") seq_cst
8 ; CHECK-LABEL: define void @syncscope_2
9 ; CHECK: fence syncscope("image") seq_cst
10 ; CHECK: fence syncscope("agent") seq_cst
11 ; CHECK: fence syncscope("workgroup") seq_cst