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

Matthias Springer llvmlistbot at llvm.org
Thu Jun 26 03:27:54 PDT 2025


================
@@ -1256,6 +1256,7 @@ def Tensor_CollapseShapeOp : Tensor_ReassociativeReshapeOp<"collapse_shape"> {
 
 def Tensor_PadOp : Tensor_Op<"pad", [
     DeclareOpInterfaceMethods<OpAsmOpInterface, ["getAsmResultNames"]>,
+     DeclareOpInterfaceMethods<ReifyRankedShapedTypeOpInterface>,
----------------
matthias-springer wrote:

nit: indent

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


More information about the Mlir-commits mailing list