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
Linker
MC
Object
Support
Target
Transforms Add a test for TCE return duplication. 2011-01-29 04:53:35 +00:00
VMCore
Makefile