[Mlir-commits] [llvm] [mlir] [MLIR] Generalize expand_shape to take shape as explicit input (PR #69267)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Apr 17 16:36:55 PDT 2024


================
@@ -815,16 +817,28 @@ fuseWithReshapeByExpansion(LinalgOp linalgOp, Operation *reshapeOp,
                 reassociation,
                 /*isExpandingReshape=*/true)))
           return std::nullopt;
+
+        SmallVector<OpFoldResult> inputShape =
----------------
MaheshRavishankar wrote:

If you change the `isFusableMethod` you can just remove this part I think.

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


More information about the Mlir-commits mailing list