summaryrefslogtreecommitdiff
path: root/test/Linker/Inputs/syncscope-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/Inputs/syncscope-2.ll')
-rw-r--r--test/Linker/Inputs/syncscope-2.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Linker/Inputs/syncscope-2.ll b/test/Linker/Inputs/syncscope-2.ll
new file mode 100644
index 000000000000..527c5bf93d00
--- /dev/null
+++ b/test/Linker/Inputs/syncscope-2.ll
@@ -0,0 +1,6 @@
+define void @syncscope_2() {
+ fence syncscope("image") seq_cst
+ fence syncscope("agent") seq_cst
+ fence syncscope("workgroup") seq_cst
+ ret void
+}