[Mlir-commits] [mlir] [MLIR][Python] Add missing peel_front argument to LoopPeelOp's extension class (PR #81424)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Feb 12 07:10:30 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 b45de48be24695b613f48ed21bb35f844454193b...b3a10010465c2b853977c63e54ac46dd1e7ae7bc mlir/python/mlir/dialects/transform/loop.py mlir/test/python/dialects/transform_loop_ext.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- test/python/dialects/transform_loop_ext.py 2024-02-12 15:06:08.000000 +0000
+++ test/python/dialects/transform_loop_ext.py 2024-02-12 15:10:23.642272 +0000
@@ -55,11 +55,16 @@
transform.FailurePropagationMode.Propagate,
[],
transform.OperationType.get("scf.for"),
)
with InsertionPoint(sequence.body):
- loop.LoopPeelOp(transform.AnyOpType.get(), transform.AnyOpType.get(), sequence.bodyTarget, peel_front=True)
+ loop.LoopPeelOp(
+ transform.AnyOpType.get(),
+ transform.AnyOpType.get(),
+ sequence.bodyTarget,
+ peel_front=True,
+ )
transform.YieldOp()
# CHECK-LABEL: TEST: loopPeel_peel_front
# CHECK: = transform.loop.peel %[[ARG0:.*]] {peel_front = true}
``````````
</details>
https://github.com/llvm/llvm-project/pull/81424
More information about the Mlir-commits
mailing list