diff options
author | Sebastian Pop <spop@nvidia.com> | 2025-08-21 13:02:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-21 13:02:56 -0500 |
commit | e42ef8083cd26a1796cb4ad1eaa05821a1067106 (patch) | |
tree | 3e181899f69ea9558a297f037cd06076c0306989 /llvm/utils/UpdateTestChecks/common.py | |
parent | 8b091961b134661a3bbc95646a3a9b2344d684f8 (diff) | |
download | llvm-e42ef8083cd26a1796cb4ad1eaa05821a1067106.zip llvm-e42ef8083cd26a1796cb4ad1eaa05821a1067106.tar.gz llvm-e42ef8083cd26a1796cb4ad1eaa05821a1067106.tar.bz2 |
[delinearize] use update_analyze_test_checks.py in delinearization testcases (#153831)
In this patch:
1. Adapt the output of printDelinearization() to match what the script
expects to see, "Printing analysis 'Delinearization' for function".
2. Register the "Delinearization" pass in the update script.
3. Automatically remove the existing CHECK statements.
4. Update the tests with a run of:
```
$ ~/llvm-project/llvm/utils/update_analyze_test_checks.py
--opt=~/llvm-project/build/bin/opt
~/llvm-project/llvm/test/Analysis/Delinearization/*.ll
```
5. Drop llvm/test/Analysis/Delinearization/undef.ll because the test
does not pass the github-actions "undef deprecator."
6. Only run delinearization pretty-print pass on the most internal loop.
7. Only run delinearization pretty-print pass on load and store
instructions.
Diffstat (limited to 'llvm/utils/UpdateTestChecks/common.py')
-rw-r--r-- | llvm/utils/UpdateTestChecks/common.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/UpdateTestChecks/common.py b/llvm/utils/UpdateTestChecks/common.py index a5d4375..835092c4 100644 --- a/llvm/utils/UpdateTestChecks/common.py +++ b/llvm/utils/UpdateTestChecks/common.py @@ -36,6 +36,7 @@ SUPPORTED_ANALYSES = { "Branch Probability Analysis", "Cost Model Analysis", "Dependence Analysis", + "Delinearization", "Loop Access Analysis", "Scalar Evolution Analysis", } |