[clang] [llvm] [HLSL][DXIL][SPIRV] Added DeviceMemoryBarrier() and AllMemoryBarrier() intrinsics (PR #190633)

Joshua Batista via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 6 11:08:32 PDT 2026


================
@@ -6,8 +6,8 @@
 define void @test_group_memory_barrier_with_group_sync() #0 {
 entry:
   ; CHECK: %[[#TY:]] = OpTypeInt 32 0
-  ; CHECK-DAG: %[[#MEM_SEM:]] = OpConstant %[[#TY]] 264
   ; CHECK-DAG: %[[#EXEC_AND_MEM_SCOPE:]] = OpConstant %[[#TY]] 2
+  ; CHECK-DAG: %[[#MEM_SEM:]] = OpConstant %[[#TY]] 264
----------------
bob80905 wrote:

This change doesn't make sense to me. CHECK-DAG means check the lines in whichever order they appear, they don't need to appear after the previous check line. So, I don't see why this file needs edits.

https://github.com/llvm/llvm-project/pull/190633


More information about the cfe-commits mailing list