[Mlir-commits] [mlir] [mlir][linalg] Fix padding transform and update transform padding op. (PR #144354)

Nicolas Vasilache llvmlistbot at llvm.org
Mon Jun 16 07:13:05 PDT 2025


================
@@ -1134,14 +1134,16 @@ def PadOp : Op<Transform_Dialect, "structured.pad",
          DefaultValuedAttr<
           TypedArrayAttrBase<I64ArrayAttr, "array of arrays of i64">,
           "{}">:$transpose_paddings,
-         DefaultValuedAttr<StrAttr, "::mlir::bufferization::MaterializeInDestinationOp::getOperationName()">:$copy_back_op);
+         DefaultValuedAttr<StrAttr, "::mlir::bufferization::MaterializeInDestinationOp::getOperationName()">:$copy_back_op,
+         UnitProp:$use_default_tensor_shapes);
----------------
nicolasvasilache wrote:

Can we rename to `use_prescribed_tensor_shapes` here and below?
Rationale is this is used to inject prescribed information that overrides/removes the need for an analysis.

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


More information about the Mlir-commits mailing list