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

Maksim Levental llvmlistbot at llvm.org
Fri Nov 24 13:10:21 PST 2023


================
@@ -355,7 +355,7 @@ def testTileCompact(target):
 @create_sequence
 def testTileAttributes(target):
     attr = DenseI64ArrayAttr.get([4, 8])
-    ichange = DenseI64ArrayAttr.get([0, 1])
+    ichange = Attribute.parse("[0, 1]")
----------------
makslevental wrote:

```suggestion
    ichange = [0, 1]
```

I believe this will work for `attr` as well.

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


More information about the Mlir-commits mailing list