[Mlir-commits] [mlir] [mlir][tensor] Make tensor::PadOp a ReifyRankedShapedTypeOpInterface (PR #145867)

Nicolas Vasilache llvmlistbot at llvm.org
Fri Jun 27 02:20:59 PDT 2025


nicolasvasilache wrote:

> Thanks for adding this, but I am curious how the dim resolution of pad ops worked before. I dont see any tests of the form https://github.com/llvm/llvm-project/blob/main/mlir/test/Dialect/Tensor/resolve-shaped-type-result-dims.mlir that shows something that worked before and works now because the interface was added. All I see are tests with operands swapped around.

[mlir/test/Dialect/Tensor/value-bounds-op-interface-impl.mlir](https://github.com/llvm/llvm-project/pull/145867/files#diff-ecd6ce43bae4827fdd3f814bad59d39c4c50484e5998c24a49496c123173d923)

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


More information about the Mlir-commits mailing list