Strengthen icmp snuggling by doing 'compare-or-equal-to' to 'compare'
authorNick Lewycky <nicholas@mxc.ca>
Sat, 7 Apr 2007 02:30:14 +0000 (02:30 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 7 Apr 2007 02:30:14 +0000 (02:30 +0000)
commit8ac40dd747f288dfbee273bd0e634696d1fa450f
treeaa634c291da046de29e2a331a76b5865ea22db1a
parentc4625da483ff9e835aef886864e37dd68fb7a03c
Strengthen icmp snuggling by doing 'compare-or-equal-to' to 'compare'
first and then range testing second.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35715 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/PredicateSimplifier.cpp