aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorRamkumar Ramachandra <ramkumar.ramachandra@codasip.com>2025-03-06 19:30:25 +0000
committerGitHub <noreply@github.com>2025-03-06 19:30:25 +0000
commitddffb74afd870d284ba07f1cf6c67117a8ab8b33 (patch)
tree79cf9c04e506dec36c41920d5dd3320ab70328e4 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent00f3089c2e394f219e1a78e5cc39f9bfd5a8a8e2 (diff)
downloadllvm-ddffb74afd870d284ba07f1cf6c67117a8ab8b33.zip
llvm-ddffb74afd870d284ba07f1cf6c67117a8ab8b33.tar.gz
llvm-ddffb74afd870d284ba07f1cf6c67117a8ab8b33.tar.bz2
[LV] Strip unreachable SCEV-check blocks (#130079)
emitSCEVChecks checks if SCEVCheckCond matches zero, and returns nullptr. However, it sets SCEVCheckCond as used before it does this, which prevents it from being removed during cleanup, resulting in unreachable blocks being emitted. Fix this.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions