llvm-6502/test/Transforms/LoopRotate
David Majnemer 90c42ddc62 LoopRotate: Don't walk the uses of a Constant
LoopRotate wanted to avoid live range interference by looking at the
uses of a Value in the loop latch and seeing if any lied outside of the
loop.  We would wrongly perform this operation on Constants.

This fixes PR22337.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227171 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-27 06:21:43 +00:00
..
2009-01-25-SingleEntryPhi.ll
alloca.ll
basic.ll
crash.ll
dbgvalue.ll
indirectbr.ll
multiple-exits.ll
nosimplifylatch.ll
phi-duplicate.ll
PhiRename-1.ll
PhiSelfReference-1.ll
pr2639.ll
pr22337.ll LoopRotate: Don't walk the uses of a Constant 2015-01-27 06:21:43 +00:00
preserve-loop-simplify.ll
preserve-scev.ll
simplifylatch.ll