[Mlir-commits] [mlir] [mlir][rocdl] Add `readfirstlane` intrinsic (PR #152551)
Ivan Butygin
llvmlistbot at llvm.org
Thu Aug 7 10:26:14 PDT 2025
================
@@ -189,7 +189,21 @@ def ROCDL_BallotOp :
let assemblyFormat = "$pred attr-dict `:` type($res)";
}
-def ROCDL_ReadlaneOp : ROCDL_IntrOp<"readlane", [], [0], [AllTypesMatch<["res", "src0"]>], 1>,
+def ROCDL_ReadfirstlaneOp : ROCDL_IntrOp<"readfirstlane", [], [0], [AllTypesMatch<["res", "src"]>, Pure], 1>,
----------------
Hardcode84 wrote:
I guess, I can make it non-pure for now and hoist manually on Wave side.
https://github.com/llvm/llvm-project/pull/152551
More information about the Mlir-commits
mailing list