[Mlir-commits] [mlir] [MLIR][Linalg] Remove/update failing obsolete OpDSL tests for linalg.matmul. (PR #115319)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Nov 7 05:52:46 PST 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 9f796159f28775b3f93d77e173c1fd3413c2e60e...4809882fbbd1d49d1e4b94de7c293741d469cd73 mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py mlir/test/python/dialects/linalg/ops.py mlir/test/python/integration/dialects/linalg/opsrun.py mlir/test/python/integration/dialects/transform.py
``````````

</details>

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

``````````diff
--- test/python/integration/dialects/transform.py	2024-11-07 13:29:30.000000 +0000
+++ test/python/integration/dialects/transform.py	2024-11-07 13:52:14.611882 +0000
@@ -132,11 +132,13 @@
     # CHECK:         }
     @module(attrs={"transform.with_named_sequence": UnitAttr.get()})
     def mod():
         @named_sequence("__transform_main", [any_op_t()], [])
         def basic(variant_op: any_op_t()):
-            matmul = structured_match(any_op_t(), variant_op, ops=["linalg.batch_reduce_matmul"])
+            matmul = structured_match(
+                any_op_t(), variant_op, ops=["linalg.batch_reduce_matmul"]
+            )
             top_func = get_parent_op(pdl.op_t(), matmul, op_name="func.func")
 
             @apply_patterns(top_func)
             def pats():
                 apply_patterns_canonicalization()

``````````

</details>


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


More information about the Mlir-commits mailing list