64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
12 lines
431 B
LLVM
12 lines
431 B
LLVM
; RUN: llvm-link %S/Inputs/syncscope-1.ll %S/Inputs/syncscope-2.ll -S | FileCheck %s
|
|
|
|
; CHECK-LABEL: define void @syncscope_1
|
|
; CHECK: fence syncscope("agent") seq_cst
|
|
; CHECK: fence syncscope("workgroup") seq_cst
|
|
; CHECK: fence syncscope("wavefront") seq_cst
|
|
|
|
; CHECK-LABEL: define void @syncscope_2
|
|
; CHECK: fence syncscope("image") seq_cst
|
|
; CHECK: fence syncscope("agent") seq_cst
|
|
; CHECK: fence syncscope("workgroup") seq_cst
|