[Mlir-commits] [mlir] [mlir][linalg] Improve linalg.pack consumer fusion. (PR #148993)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Jul 17 07:16:34 PDT 2025


================
@@ -887,26 +887,13 @@ struct PackOpTiling
 
     ArrayRef<OpFoldResult> offsets(allOffsets[0]);
     ArrayRef<OpFoldResult> sizes(allSizes[0]);
-
     auto packOp = cast<PackOp>(op);
-    // It is not trivial to infer dest tile from source tile if `packOp` has
-    // padding semantic.
-    if (packOp.getPaddingValue())
-      return failure();
-
----------------
Max191 wrote:

Why is this part getting removed? I don't see any updates to the logic about the padding value in this function.

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


More information about the Mlir-commits mailing list