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

Nicolas Vasilache llvmlistbot at llvm.org
Thu Jun 26 03:44:02 PDT 2025


================
@@ -98,6 +98,9 @@ OpFoldResult getAsOpFoldResult(Value val);
 SmallVector<OpFoldResult> getAsOpFoldResult(ValueRange values);
 /// Convert `arrayAttr` to a vector of OpFoldResult.
 SmallVector<OpFoldResult> getAsOpFoldResult(ArrayAttr arrayAttr);
+// TODO: implement a mixed form of this and deprecate getMixedPadImpl.
+// SmallVector<OpFoldResult> getAsOpFoldResult(ArrayAttr arrayAttr, ValueRange
----------------
nicolasvasilache wrote:

Can't see how to connect that atm, order is important.
I'll prob need to make a fresh pass on all StaticValueUtils, separating out of this PR.

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


More information about the Mlir-commits mailing list