[Mlir-commits] [mlir] [utils] Use stricter SSA regexp for CHECK-SAME. (PR #128083)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Feb 20 17:11:49 PST 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 74c6111631ceb14a70bf833da66df9fb5d871436...37a80d40fd8a88a214999452495d7370aca8d29f mlir/utils/generate-test-checks.py
``````````

</details>

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

``````````diff
--- generate-test-checks.py	2025-02-21 01:08:07.000000 +0000
+++ generate-test-checks.py	2025-02-21 01:11:21.830803 +0000
@@ -395,11 +395,13 @@
 
                 # Pad to align with the original position in the line.
                 output_line += " " * len(ssa_split[0])
 
                 # Process the rest of the line.
-                output_line += process_line([argument], variable_namer, strict_name_re=True)
+                output_line += process_line(
+                    [argument], variable_namer, strict_name_re=True
+                )
 
         # Append the output line.
         output_segments[-1].append(output_line)
 
     output.write(autogenerated_note + "\n")

``````````

</details>


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


More information about the Mlir-commits mailing list