llvm-6502/lib/Transforms
Sanjoy Das 7ec1829823 Fix PR22222
The bug was introduced in r225282. r225282 assumed that sub X, Y is
the same as add X, -Y. This is not correct if we are going to upgrade
the sub to sub nuw. This change fixes the issue by making the
optimization ignore sub instructions.

Differential Revision: http://reviews.llvm.org/D6979



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226075 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-15 01:46:09 +00:00
..
Hello
InstCombine InstCombine: Don't take A-B<0 into A<B if A-B has other uses 2015-01-14 19:26:56 +00:00
Instrumentation [ASan] Move the shadow on Windows 32-bit from 0x20000000 to 0x40000000 2015-01-12 17:38:58 +00:00
IPO Standardize {pred,succ,use,user}_empty() 2015-01-13 03:46:47 +00:00
ObjCARC IR: Split Metadata from Value 2014-12-09 18:38:53 +00:00
Scalar Standardize {pred,succ,use,user}_empty() 2015-01-13 03:46:47 +00:00
Utils Fix PR22222 2015-01-15 01:46:09 +00:00
Vectorize reapply: SLPVectorizer: Cache results from memory alias checking. 2015-01-14 11:24:47 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile