[Mlir-commits] [mlir] Consistent transform syntax (PR #90897)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat May 4 06:51:25 PDT 2024


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 e846778e52f8586b5092c2fd4cdbec2334e31770...d45b1b0b78bc021934b544a3e8ed18f15de50b1a mlir/python/mlir/dialects/transform/structured.py mlir/test/python/dialects/transform_structured_ext.py
``````````

</details>

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

``````````diff
--- test/python/dialects/transform_structured_ext.py	2024-05-03 18:23:17.000000 +0000
+++ test/python/dialects/transform_structured_ext.py	2024-05-03 18:27:09.178685 +0000
@@ -509,11 +509,11 @@
 def testTileToForallPackedDynamic(target):
     n = structured.MatchOp.match_op_names(target, ["test.dummy"])
     structured.TileUsingForallOp(target, num_threads=n)
     # CHECK-LABEL: TEST: testTileToForallPackedDynamic
     # CHECK: = transform.structured.tile_using_forall
-    # CHECK-SAME: num_threads *(%0) : (!transform.any_op, !transform.any_op) 
+    # CHECK-SAME: num_threads *(%0) : (!transform.any_op, !transform.any_op)
 
 
 @run
 @create_sequence
 def testTileToForallMapping(target):

``````````

</details>


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


More information about the Mlir-commits mailing list