[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,9 +6,9 @@
 define void @test_group_memory_barrier() #0 {
 entry:
   ; CHECK: %[[#TY:]] = OpTypeInt 32 0
+  ; CHECK-DAG: %[[#MEM_SCOPE:]] = OpConstant %[[#TY]] 2
----------------
bob80905 wrote:

Based on the previous file, it looks like the exec scope was defined. Can you Run a CHECK on the Exec Scope on this test?

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


More information about the cfe-commits mailing list