[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:57 PDT 2024


================
@@ -373,10 +373,11 @@ class PadOp(PadOp):
     def __init__(
         self,
         target: Union[Operation, OpView, Value],
+        pad_to_multiple_of: Optional[Union[DynamicIndexList, ArrayAttr]] = None,
----------------
ftynse wrote:

I'm not sure what happens with typing here. Ideally, we should take a list where one can mix python integers, handles and attributes freely OR an array attribute.

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


More information about the Mlir-commits mailing list