[Mlir-commits] [mlir] [MLIR][Transform][SMT] Introduce transform.smt.constrain_params (PR #159450)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Sep 17 13:53:20 PDT 2025
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 origin/main...HEAD mlir/python/mlir/dialects/transform/smt.py mlir/test/python/dialects/transform_smt_ext.py mlir/python/mlir/dialects/smt.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- python/mlir/dialects/transform/smt.py 2025-09-17 20:48:24.000000 +0000
+++ python/mlir/dialects/transform/smt.py 2025-09-17 20:52:57.936413 +0000
@@ -11,10 +11,11 @@
try:
from .._ods_common import _cext as _ods_cext
except ImportError as e:
raise RuntimeError("Error loading imports from extension module") from e
+
@_ods_cext.register_operation(_Dialect, replace=True)
class ConstrainParamsOp(ConstrainParamsOp):
def __init__(
self,
``````````
</details>
https://github.com/llvm/llvm-project/pull/159450
More information about the Mlir-commits
mailing list