[Mlir-commits] [mlir] [mlir][ROCDL] Add async variants of pre-gfx12 LDS load intrinsics (PR #181072)
Alan Li
llvmlistbot at llvm.org
Thu Feb 12 08:06:08 PST 2026
================
@@ -1102,6 +1102,49 @@ def ROCDL_LoadToLDSOp :
}];
}
+def ROCDL_LoadAsyncToLDSOp :
+ ROCDL_IntrOp<"load.async.to.lds", [], [0], [], 0, 0, 1, 0, [2, 3, 4], ["size", "offset", "aux"]> {
+ dag args = (ins Arg<LLVM_AnyPointer, "", [MemRead]>:$globalPtr,
+ Arg<ROCDLBufferLDS, "", [MemWrite]>:$ldsPtr,
+ I32Attr:$size,
+ I32Attr:$offset,
+ I32Attr:$aux);
+ let arguments = !con(args, baseArgs);
+ let assemblyFormat = [{
+ $globalPtr `,` $ldsPtr `,` $size `,` $offset `,` $aux
+ attr-dict `:` qualified(type($globalPtr)) `,` qualified(type($ldsPtr))
----------------
lialan wrote:
AI nit: `LoadToLDSOp` could use a qualified print here too.
https://github.com/llvm/llvm-project/pull/181072
More information about the Mlir-commits
mailing list