If loop induction variable's start value is less then its exit value then do not...
authorDevang Patel <dpatel@apple.com>
Wed, 9 Jul 2008 00:12:01 +0000 (00:12 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 9 Jul 2008 00:12:01 +0000 (00:12 +0000)
commita5e27f80282d240817d651347a2ddc80a03ee9ce
tree0c1a948a5e7011c4dc585f2d72e848dd6fa681ec
parentf877b735ad4987f26cafcbaf22aa4c2199458b5d
If loop induction variable's start value is less then its exit value then do not split the loop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53265 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopIndexSplit.cpp
test/Transforms/LoopIndexSplit/2008-05-19-IndVar.ll
test/Transforms/LoopIndexSplit/2008-07-08-MisCompilation.ll [new file with mode: 0644]