[Mlir-commits] [mlir] [mlir][linalg] Fix padding shape computation in PadTilingInterface for convs (PR #149576)
Fabian Mora
llvmlistbot at llvm.org
Tue Jul 29 04:16:08 PDT 2025
================
@@ -611,6 +611,13 @@ LogicalResult rewriteAsPaddedOp(RewriterBase &rewriter, LinalgOp opToPad,
/// affine.apply operations.
/// The `indexingMap` + `indexingSizes` encoding suits StructuredOps and
/// provides a gentle portability path for Linalg-like ops with affine maps.
+/// The padded shape is computed by evaluating the maximum accessed index per
+/// dimension, which may involve multiplying by constant factors derived from
+/// the affine indexing expressions. Currently, only a limited set of projected
+/// permuation indexing map is supported, such as
----------------
fabianmcg wrote:
ultra-nit:
```suggestion
/// permuation indexing maps are supported, such as
```
https://github.com/llvm/llvm-project/pull/149576
More information about the Mlir-commits
mailing list