xref: /llvm-project/llvm/test/Linker/syncscopes.ll (revision bb80d3e1d34a0fa4374f1d6f199bd49d4b21abf0)
1; RUN: llvm-link %S/Inputs/syncscope-1.ll %S/Inputs/syncscope-2.ll -S | FileCheck %s
2
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
7
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
12