[Mlir-commits] [mlir] Reland "[mlir] Fix TileUsingForOp attr-dict printing/parsing" (PR #73261)

Felix Schneider llvmlistbot at llvm.org
Mon Dec 4 23:28:34 PST 2023


================
@@ -1819,7 +1819,7 @@ def TileUsingForOp : Op<Transform_Dialect, "structured.tile_using_for",
   let arguments = (ins TransformHandleTypeInterface:$target,
                    Variadic<TransformParamTypeOrAnyHandle>:$dynamic_sizes,
                    DefaultValuedOptionalAttr<DenseI64ArrayAttr, "{}">:$static_sizes,
-                   DefaultValuedOptionalAttr<DenseI64ArrayAttr, "{}">:$interchange,
+                   DefaultValuedOptionalAttr<I64ArrayAttr, "{}">:$interchange,
----------------
ubfx wrote:

For this PR, we wanted to stay compatible to the old assembly format which printed as `{interchange = [1,2,3]}`. I think this format (just square brackets) would not have worked with the `DenseAttr`.

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


More information about the Mlir-commits mailing list