[Mlir-commits] [mlir] [mlir][linalg] Restrict linalg.pack to not have artificial padding. (PR #149624)

Han-Chung Wang llvmlistbot at llvm.org
Tue Jul 22 11:46:23 PDT 2025


================
@@ -194,6 +195,28 @@ struct SimplifyUnPackToCollapseShape : public OpRewritePattern<UnPackOp> {
   }
 };
 
+/// Returns the outer shape in the packed domain before applying the
+/// transposition.
+template <typename OpTy>
+static SmallVector<int64_t>
+getPackedOuterShapeWithoutTransposition(OpTy packOrUnPack) {
----------------
hanhanW wrote:

SG, done

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


More information about the Mlir-commits mailing list