aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2025-07-31 21:50:38 +0200
committerGitHub <noreply@github.com>2025-07-31 21:50:38 +0200
commitb383efc3e3e18b57e1a13bd59aef4b5964410321 (patch)
tree764016f7460d55fbf8cee4543577f1de8f0a4919 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent506834deac06acc37fff4f852c7ecbce0a2bacd2 (diff)
downloadllvm-b383efc3e3e18b57e1a13bd59aef4b5964410321.zip
llvm-b383efc3e3e18b57e1a13bd59aef4b5964410321.tar.gz
llvm-b383efc3e3e18b57e1a13bd59aef4b5964410321.tar.bz2
[lit] Optionally exclude xfail tests (#151191)
See the related issue. We want to set up a build bot where `opt` runs with `-enable-profcheck`, which inserts `MD_prof` before running the rest of the pipeline requested from `opt`, and then validates resulting profile information (more info in the RFC linked by the aforementioned issue) In that setup, we will also ignore `FileCheck`: while the profile info inserted is, currently, equivalent to the profile info a pass would observe via `BranchProbabilityInfo`/`BlockFrequencyInfo`, (1) we may want to change that, and (2) some tests are quite sensitive to the output IR, and break if, for instance, extra metadata is present (which it would be due to `-enable-profcheck`). Since we're just interested in profile consistency on the upcoming bot, ignoring `FileCheck` is simpler and sufficient. However, this has the effect of passing XFAIL tests. Rather than listing them all, the alternative is to just exclude XFAIL tests. This PR adds support for that by introducing a `--exclude-xfail` option to `llvm-lit`. Issue #147390
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions