llvm-6502/lib/Transforms
Jim Grosbach 4658ce9c1f InstCombine: Simplify if(x!=0 && x!=-1).
When both constants are positive or both constants are negative,
InstCombine already simplifies comparisons like this, but when
it's exactly zero and -1, the operand sorting ends up reversed
and the pattern fails to match. Handle that special case.

Follow up for rdar://14689217

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188512 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-16 00:15:20 +00:00
..
Hello
InstCombine InstCombine: Simplify if(x!=0 && x!=-1). 2013-08-16 00:15:20 +00:00
Instrumentation
IPO
ObjCARC
Scalar
Utils
Vectorize
CMakeLists.txt
LLVMBuild.txt
Makefile