[clang] [llvm] [HLSL][DXIL][SPIRV] Added DeviceMemoryBarrier() and AllMemoryBarrier() intrinsics (PR #190633)
Sietze Riemersma via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 6 13:01:45 PDT 2026
================
@@ -6,9 +6,9 @@
define void @test_group_memory_barrier() #0 {
entry:
; CHECK: %[[#TY:]] = OpTypeInt 32 0
+ ; CHECK-DAG: %[[#MEM_SCOPE:]] = OpConstant %[[#TY]] 2
----------------
KungFuDonkey wrote:
> Also if possible, can you leave the CHECK-DAG for mem scope (with op constant 2) right below the check line that checks 264? The DAG check shouldn't require you to move the location of the check line in the file.
See comment above, where the order is the same as the cpp side, so no I don't think I should move it
https://github.com/llvm/llvm-project/pull/190633
More information about the cfe-commits
mailing list