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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Nov 23 11:51:19 PST 2023


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r 9ebe6e28cdbe97f6c03209b87e91be6b55a8026a..3b1b0c8061f81ea9bdfecf8bc8f17449833d6dcc mlir/test/python/dialects/transform_structured_ext.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- transform_structured_ext.py	2023-11-23 19:35:56.000000 +0000
+++ transform_structured_ext.py	2023-11-23 19:51:10.498835 +0000
@@ -342,11 +342,13 @@
 
 
 @run
 @create_sequence
 def testTileCompact(target):
-    structured.TileUsingForOp(target, sizes=[4, 8], interchange=Attribute.parse("[0, 1]"))
+    structured.TileUsingForOp(
+        target, sizes=[4, 8], interchange=Attribute.parse("[0, 1]")
+    )
     # CHECK-LABEL: TEST: testTileCompact
     # CHECK: transform.sequence
     # CHECK: %{{.+}}, %{{.+}}:2 = transform.structured.tile_using_for %{{.*}}[4, 8]
     # CHECK: interchange = [0, 1]
 

``````````

</details>


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


More information about the Mlir-commits mailing list