[Mlir-commits] [mlir] [mlir][rocdl] Add `readfirstlane` intrinsic (PR #152551)
Ivan Butygin
llvmlistbot at llvm.org
Thu Aug 7 10:25:02 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:
Ok, making it loop-hoistable was my exact motivation, any ideas how to handle it?
https://github.com/llvm/llvm-project/pull/152551
More information about the Mlir-commits
mailing list