[Mlir-commits] [mlir] [mlir][rocdl] Add `readfirstlane` intrinsic (PR #152551)
Ivan Butygin
llvmlistbot at llvm.org
Thu Aug 7 10:29:24 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:
Yeah, I see. Can we hoist `readlane`?
https://github.com/llvm/llvm-project/pull/152551
More information about the Mlir-commits
mailing list