[llvm-branch-commits] [flang] [flang] handle fir.call in AliasAnalysis::getModRef (PR #117164)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Nov 21 06:15:57 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 c12869e010d892caf93d153c187db846ba995a9e...84c95d6c816004abe6c01eb754688fb35a666ffc flang/test/Analysis/AliasAnalysis/gen_mod_ref_test.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- gen_mod_ref_test.py 2024-11-21 13:14:25.000000 +0000
+++ gen_mod_ref_test.py 2024-11-21 14:15:26.444588 +0000
@@ -11,8 +11,16 @@
import sys
import re
for line in sys.stdin:
- line = re.sub(r'(fir.call @_\w*P)(test_effect_\w*)(\(.*) : ', r'\1\2\3 {test.ptr ="\2"} : ', line)
- line = re.sub(r'(hlfir.declare .*uniq_name =.*E)(test_var_\w*)"', r'\1\2", test.ptr ="\2"', line)
- sys.stdout.write(line)
+ line = re.sub(
+ r"(fir.call @_\w*P)(test_effect_\w*)(\(.*) : ",
+ r'\1\2\3 {test.ptr ="\2"} : ',
+ line,
+ )
+ line = re.sub(
+ r'(hlfir.declare .*uniq_name =.*E)(test_var_\w*)"',
+ r'\1\2", test.ptr ="\2"',
+ line,
+ )
+ sys.stdout.write(line)
``````````
</details>
https://github.com/llvm/llvm-project/pull/117164
More information about the llvm-branch-commits
mailing list