[Mlir-commits] [mlir] [mlir][transform] Add support for transform.param pad multiples in `PadOp` (PR #90755)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Thu May 2 07:27:56 PDT 2024


================
@@ -1043,11 +1050,12 @@ def PadOp : Op<Transform_Dialect, "structured.pad",
     /// copy_back_op attribute value indicating that no copy back is desired.
     static constexpr StringRef kCopyOpNone = "none";
 
-    ::mlir::DiagnosedSilenceableFailure applyToOne(
-        ::mlir::transform::TransformRewriter &rewriter,
-        ::mlir::linalg::LinalgOp target,
-        ::mlir::transform::ApplyToEachResultList &results,
-        ::mlir::transform::TransformState &state);
+    SmallVector<OpFoldResult> getMixedPadToMultipleOf();
----------------
ftynse wrote:

Nit: please add the `///` comment for this function.

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


More information about the Mlir-commits mailing list