summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopUnroll/update-loop-info-in-subloops.ll
Commit message (Collapse)AuthorAgeFilesLines
* LoopUnroll: Create sub-loops in LoopInfoDuncan P. N. Exon Smith2014-10-071-0/+35
`LoopUnrollPass` says that it preserves `LoopInfo` -- make it so. In particular, tell `LoopInfo` about copies of inner loops when unrolling the outer loop. Conservatively, also tell `ScalarEvolution` to forget about the original versions of these loops, since their inputs may have changed. Fixes PR20987. llvm-svn: 219241
OpenPOWER on IntegriCloud