[Mlir-commits] [mlir] [mlir][linalg] Genericize MapOp (PR #162742)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Oct 11 14:20:21 PDT 2025


================
@@ -1570,7 +1573,11 @@ ParseResult MapOp::parse(OpAsmParser &parser, OperationState &result) {
   return success();
 }
 
-static bool canUseShortForm(Block *body, bool initFirst = false) {
+static bool canUseShortForm(Block *body, bool initFirst = false,
+                            bool mapInit = true) {
----------------
srcarroll wrote:

again, this was the option with least amount of changes. will refactor if desired

https://github.com/llvm/llvm-project/pull/162742


More information about the Mlir-commits mailing list