llvm-6502/lib
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
..
Analysis For PR21145: recognise a builtin call to a known deallocation function even if 2015-01-15 01:00:33 +00:00
AsmParser AsmParser/Bitcode: Add support for MDLocation 2015-01-13 21:10:44 +00:00
Bitcode Don't create new comdats in CodeGen. 2015-01-14 20:55:48 +00:00
CodeGen [RegisterCoalescer] Remove copies to reserved registers 2015-01-15 01:25:28 +00:00
DebugInfo [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
ExecutionEngine [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
IR getMangledTypeStr: clarify how it mangles types, and add tests 2015-01-14 23:05:17 +00:00
IRReader Remove unused variable. NFC. 2014-11-06 23:16:57 +00:00
LineEditor
Linker Use the DiagnosticHandler to print diagnostics when reading bitcode. 2015-01-10 00:07:30 +00:00
LTO Use the DiagnosticHandler to print diagnostics when reading bitcode. 2015-01-10 00:07:30 +00:00
MC Revert "Add r224985 back with two fixes." 2015-01-14 19:07:23 +00:00
Object [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
Option [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
ProfileData [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
Support [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
TableGen Clean up static analyzer warnings. 2014-12-12 21:48:03 +00:00
Target [PowerPC] Add assembler support for mcrfs and friends 2015-01-15 01:00:53 +00:00
Transforms Fix PR22222 2015-01-15 01:46:09 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile