llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[Bug][LoopBoundSplit] LoopBoundSplit calls into ScalarEvolution with out-of-date LoopInfo

Open CongzheUalberta opened this issue 8 months ago • 0 comments

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

CongzheUalberta avatar Apr 06 '26 20:04 CongzheUalberta