If the sign of exit condition and split condition does not match
authorDevang Patel <dpatel@apple.com>
Mon, 10 Nov 2008 19:48:34 +0000 (19:48 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 10 Nov 2008 19:48:34 +0000 (19:48 +0000)
commitd4e7f44319824998bafe1bd1c50314e1310a9ca1
tree25498a043153f3741229dd1e7b490b64d3011898
parentf5092245102297e91656e0e471778f0875a8bc66
If the sign of exit condition and split condition does not match
then do not split loop index.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58995 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopIndexSplit.cpp
test/Transforms/LoopIndexSplit/2008-11-10-Sign.ll [new file with mode: 0644]