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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed May 1 19:48:00 PDT 2024


================
@@ -1021,8 +1023,7 @@ def PadOp : Op<Transform_Dialect, "structured.pad",
                       TransformHandleTypeInterface:$pad,
                       TransformHandleTypeInterface:$copy);
 
-  let assemblyFormat =
-    "$target attr-dict `:` functional-type(operands, results)";
+  let hasCustomAssemblyFormat = 1;
----------------
srcarroll wrote:

I actually wouldn't be opposed to using the dynamic list directive in favor of simpler code. even if I do personally think the resulting IR is uglier, but obviously will put personal preferences aside. Would like to hear what others think.

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


More information about the Mlir-commits mailing list