llvm-project
llvm-project copied to clipboard
[Bug][LoopBoundSplit] LoopBoundSplit calls into ScalarEvolution with out-of-date LoopInfo
LoopBoundSplit did not update LoopInfo completely correctly.
The way to reproduce the bug: put a call to LI.verify(DT) at the beginning of ScalarEvolution::createSCEVIter, then run check-llvm-transforms-loopboundsplit. The following test would crash.
LLVM :: Transforms/LoopBoundSplit/bug51866.ll
Related parent issue: https://github.com/llvm/llvm-project/issues/190682