llvm-6502/lib
Benjamin Kramer 2c94b4201b Add the missing sub identity "A-(A-B) -> B" to DAGCombine.
This happens e.g. for code like "X - X%10" where we lower the modulo operation
to a series of multiplies and shifts that are then subtracted from X, leading to
this missed optimization.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124532 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-29 12:34:05 +00:00
..
Analysis Implementation of path profiling. 2011-01-29 01:09:53 +00:00
Archive
AsmParser
Bitcode
CodeGen Add the missing sub identity "A-(A-B) -> B" to DAGCombine. 2011-01-29 12:34:05 +00:00
CompilerDriver
ExecutionEngine Fix libffi usage when it is on a custom path. 2011-01-28 16:49:05 +00:00
Linker
MC Error on .code16 instead of producing wrong (32bit) code. 2011-01-28 19:29:48 +00:00
Object
Support
Target PR9030: Fix disassembly of ARM "mov pc, lr" instruction. 2011-01-28 17:50:30 +00:00
Transforms Add a test for TCE return duplication. 2011-01-29 04:53:35 +00:00
VMCore
Makefile