Stop creating extraneous smax/umax in SCEV. This removes a regression where we
authorNick Lewycky <nicholas@mxc.ca>
Sat, 12 Jul 2008 07:41:32 +0000 (07:41 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 12 Jul 2008 07:41:32 +0000 (07:41 +0000)
commit59cff12f8880797518c8c37f068fe75cfdc54536
tree5d0406ddb6e1db2ab3c74ab22fec1d752794032b
parent066075030ad46b3494480a5f79f05443f947aca7
Stop creating extraneous smax/umax in SCEV. This removes a regression where we
started complicating many loops ('for' loops, in fact).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53508 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll
test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect1.ll [new file with mode: 0644]
test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect2.ll [new file with mode: 0644]