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

Gaurav Shukla via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 13:24:44 PDT 2024


================
@@ -230,24 +294,17 @@ LogicalResult mlir::reshapeLikeShapesAreCompatible(
     ArrayRef<ReassociationIndices> reassociationMaps, bool isExpandingReshape) {
   unsigned expandedDimStart = 0;
   for (const auto &map : llvm::enumerate(reassociationMaps)) {
-    std::optional<int64_t> dynamicShape;
+    bool foundDynamicShape = false;
----------------
Shukla-Gaurav wrote:

Thanks :)

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


More information about the llvm-commits mailing list