Konstantin Zhuravlyov | 8f85685 | 2017-07-11 22:23:00 +0000 | [diff] [blame] | 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 |