aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorTomer Shafir <tomer.shafir8@gmail.com>2025-08-12 11:44:42 +0300
committerGitHub <noreply@github.com>2025-08-12 11:44:42 +0300
commitd64e6b5e27f78fcf8fe5be4dfa2dcca0ad9af571 (patch)
tree6125235b0e0ccddf986ff710f5e04b4cfcb0c783 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent296e057d0bf29cb6ac30ce1aecd27c86017c4744 (diff)
downloadllvm-d64e6b5e27f78fcf8fe5be4dfa2dcca0ad9af571.zip
llvm-d64e6b5e27f78fcf8fe5be4dfa2dcca0ad9af571.tar.gz
llvm-d64e6b5e27f78fcf8fe5be4dfa2dcca0ad9af571.tar.bz2
[utils][UpdateTestChecks] Warn about possible target triple mismatch (#149645)
Aims to improve error reporting by printing a warning if the target function regex that has been selected finds no matches. For example, a `-mtriple=arm64-apple-darwin` runline, would map to the `arm64` prefix by `update_llc_test_checks.py` and wouldn't match Apple's function layout, generating some not understandable garbage checks. The implementation changes `common.process_run_line` to return an abstract indicator of number of functions processed, without breaking the drivers. Then `update_llc_test_checks.py` prints a driver specific error message.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions