[Mlir-commits] [mlir] [mlir][test] Test conversion of TOSA to EmitC via LinAlg (PR #94640)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Oct 3 09:18:02 PDT 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 848b20de76def980d02bb17bcb0bdc95381876df...d38562aa876e364da5a709496f5b5cf18d9158b0 mlir/test/Conversion/TosaToEmitC/fix_mem.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- fix_mem.py 2024-10-03 16:13:09.000000 +0000
+++ fix_mem.py 2024-10-03 16:17:28.415708 +0000
@@ -11,10 +11,11 @@
substitution: str | typing.Callable[[str], str]
name: str
def substitute(self, input: str) -> str:
return re.sub(self.match, self.substitution, input, 0, re.MULTILINE)
+
SUBSTITUTIONS = [
# Insert additional constant with 0
Pattern(
r"func.func(.*)\{",
``````````
</details>
https://github.com/llvm/llvm-project/pull/94640
More information about the Mlir-commits
mailing list