[Mlir-commits] [mlir] [mlir][ROCDL] Add async variants of pre-gfx12 LDS load intrinsics (PR #181072)
Krzysztof Drewniak
llvmlistbot at llvm.org
Thu Feb 12 09:03:11 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))
----------------
krzysz00 wrote:
I don't want to break back-compat for no good reason
https://github.com/llvm/llvm-project/pull/181072
More information about the Mlir-commits
mailing list