summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopVersioning/loop-invariant-bound.ll
Commit message (Collapse)AuthorAgeFilesLines
* [LAA] Prevent invalid IR for loop-invariant bound in loop bodyKeno Fischer2016-12-051-0/+37
Summary: If LAA expands a bound that is loop invariant, but not hoisted out of the loop body, it used to use that value anyway, causing a non-domination error, because the memcheck block is of course not dominated by the scalar loop body. Detect this situation and expand the SCEV expression instead. Fixes PR31251 Reviewers: anemet Subscribers: mzolotukhin, llvm-commits Differential Revision: https://reviews.llvm.org/D27397 llvm-svn: 288705
OpenPOWER on IntegriCloud