[Mlir-commits] [mlir] [mlir][python] meta region_op (PR #75673)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Dec 20 15:15:02 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 bbc29768683b394b34600347f46be2b8245ddb30...2d542dd5e55840c3da18c10af89d61e318de8ed0 mlir/python/mlir/extras/meta.py mlir/test/python/integration/dialects/transform.py mlir/python/mlir/dialects/arith.py mlir/python/mlir/dialects/builtin.py mlir/python/mlir/dialects/func.py mlir/python/mlir/dialects/pdl.py mlir/python/mlir/dialects/scf.py mlir/python/mlir/dialects/tensor.py mlir/python/mlir/dialects/transform/__init__.py mlir/test/python/dialects/arith_dialect.py mlir/test/python/dialects/tensor.py mlir/test/python/dialects/transform_extras.py mlir/python/mlir/dialects/transform/extras/__init__.py
``````````

</details>

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

``````````diff
--- test/python/dialects/tensor.py	2023-12-20 23:12:06.000000 +0000
+++ test/python/dialects/tensor.py	2023-12-20 23:14:52.825193 +0000
@@ -147,11 +147,10 @@
 def testGenerateRegionOp():
     S = ShapedType.get_dynamic_size()
     with Context(), Location.unknown():
         module = Module.create()
         with InsertionPoint(module.body):
-
             # CHECK: %[[VAL_0:.*]] = arith.constant 1 : index
             # CHECK: %[[VAL_1:.*]] = arith.constant 2 : index
             one = arith.constant(T.index(), 1)
             two = arith.constant(T.index(), 2)
 

``````````

</details>


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


More information about the Mlir-commits mailing list