[Mlir-commits] [mlir] feat(linalg): enable lowering/decomposing scalable pack ops (PR #200216)

Ege Beysel llvmlistbot at llvm.org
Mon Jun 1 05:22:36 PDT 2026


================
@@ -249,6 +243,14 @@ FailureOr<LowerPackResult> linalg::lowerPack(RewriterBase &rewriter,
   SmallVector<int64_t> stripMinedShape(packedTensorType.getShape());
   applyPermutationToVector(stripMinedShape, packedToStripMinedShapePerm);
 
+  // Also compute the mixed (static+dynamic) strip-mined sizes for the
+  // expand_shape output. This is needed to support dynamic inner tile sizes,
+  // since the 3-arg ExpandShapeOp builder cannot infer shapes when multiple
+  // dynamic dims appear in a single reassociation group.
----------------
egebeysel wrote:

makes sense, thanks, done 👍 

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


More information about the Mlir-commits mailing list