[Mlir-commits] [mlir] [mlir][Linalg] Allow expand shape propagation across linalg ops with dynamic shapes. (PR #127943)
Han-Chung Wang
llvmlistbot at llvm.org
Wed Mar 12 14:50:25 PDT 2025
================
@@ -708,16 +683,28 @@ getIndexingMapInExpandedOp(OpBuilder &builder, AffineMap indexingMap,
/// Return the type of the operand/result to use in the expanded op given the
/// type in the original op.
-static RankedTensorType getExpandedType(RankedTensorType originalType,
- AffineMap indexingMap,
- const ExpansionInfo &expansionInfo) {
- SmallVector<int64_t> expandedShape;
+static std::tuple<SmallVector<OpFoldResult>, RankedTensorType>
----------------
hanhanW wrote:
nit: the function comment needs to be updated because it also returns the shape now.
https://github.com/llvm/llvm-project/pull/127943
More information about the Mlir-commits
mailing list