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

Adam Yang via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 18:00:56 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:

Here is an implementation where we can do (2) with just tablegen:

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


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


More information about the llvm-commits mailing list