Sneaky, sneaky: move the -1 to the outside of the SMax. Reinstate the
authorNick Lewycky <nicholas@mxc.ca>
Thu, 11 Dec 2008 17:40:14 +0000 (17:40 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 11 Dec 2008 17:40:14 +0000 (17:40 +0000)
commit277a147f87b671b8545952367fd7aaafc1614e5d
tree6d7357a2cf39e0f3c2a837057b9d9ee7cccdcf25
parent444087057ad0592f3e0bb2e434e0b610aa7914f6
Sneaky, sneaky: move the -1 to the outside of the SMax. Reinstate the
optimization of SGE/SLE with unit stride, now that it works properly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60881 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/2008-12-08-FiniteSGE.ll
test/Analysis/ScalarEvolution/2008-12-11-SMaxOverflow.ll [new file with mode: 0644]