[Mlir-commits] [mlir] [ROCDL] Added missing named barrier ops (gfx1250) (PR #162488)

Alan Li llvmlistbot at llvm.org
Wed Oct 8 17:50:37 PDT 2025


================
@@ -292,18 +292,56 @@ def ROCDL_BarrierOp : ROCDL_Op<"barrier"> {
   let assemblyFormat = "attr-dict";
 }
 
+def ROCDLBufferLDS : LLVM_PointerInAddressSpace<3>;
+
+def ROCDL_BarrierInitOp : ROCDL_IntrOp<"s.barrier.init", [], [], [Pure], 0, 0, 0, 0, [1], ["id"]>,
----------------
lialan wrote:

yeah should not be pure. this op does not have a return value so it will get eliminated if it is pure.

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


More information about the Mlir-commits mailing list