diff options
author | Florian Hahn <flo@fhahn.com> | 2024-07-11 22:04:38 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2024-07-11 22:04:39 +0100 |
commit | 7a49d80f587eff76d29d1770b1e90e9e13bc5759 (patch) | |
tree | 73c74080b307ca150ed4e8defae3e9be9cfad7da /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 65987954d9903e4fa3dfbf1ccac9d942d4af1fbb (diff) | |
download | llvm-7a49d80f587eff76d29d1770b1e90e9e13bc5759.zip llvm-7a49d80f587eff76d29d1770b1e90e9e13bc5759.tar.gz llvm-7a49d80f587eff76d29d1770b1e90e9e13bc5759.tar.bz2 |
[VPlan] Skip users outside loop in check for exit pre-compute candidates
When collecting candidates to pre-compute cost for operands of exit
conditions, skip users outside the loop when checking if they are in
ExistInstrs. The users outside the loop should be ignored, as they won't
make a value live in the VPlan.
This fixes a failure when building for X86 with sanitizers on macOS
after b841e2eca3b5c
(https://green.lab.llvm.org/job/llvm.org/job/clang-stage2-cmake-RgSan/287/)
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions