[llvm] [DXIL] Add GroupMemoryBarrierWithGroupSync intrinsic (PR #111884)

Adam Yang via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 15:00:06 PDT 2024


================
@@ -477,6 +500,11 @@ class OpLowerer {
     HasErrors |= replaceFunctionWithOp(F, OpCode);                             \
     break;
 #include "DXILOperation.inc"
+      case Intrinsic::dx_group_memory_barrier_with_group_sync:
----------------
adam-yang wrote:

Yeah make sense. I wasn't aware of the precedence of expanding one intrinsic to another, so it maps directly to a dx op.

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


More information about the llvm-commits mailing list