llvm-6502/lib/Transforms/InstCombine
Sanjoy Das f922d9cfe4 New instcombine rule: max(~a,~b) -> ~min(a, b)
This case is interesting because ScalarEvolutionExpander lowers min(a,
b) as ~max(~a,~b).  I think the profitability heuristics can be made
more clever/aggressive, but this is a start.

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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230285 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-24 00:08:41 +00:00
..
CMakeLists.txt Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
InstCombineAddSub.cpp [PM] Rename InstCombine.h to InstCombineInternal.h in preparation for 2015-01-22 05:25:13 +00:00
InstCombineAndOrXor.cpp New instcombine rule: max(~a,~b) -> ~min(a, b) 2015-02-24 00:08:41 +00:00
InstCombineCalls.cpp InstCombine: propagate deref via new addDereferenceableAttr 2015-02-14 19:37:54 +00:00
InstCombineCasts.cpp InstCombine: fold more cases of (fp_to_u/sint (u/sint_to_fp val)) 2015-02-16 21:47:54 +00:00
InstCombineCompares.cpp [InstCombine] Fix a bug when combining icmp from ptrtoint 2015-02-13 04:51:26 +00:00
InstCombineInternal.h New instcombine rule: max(~a,~b) -> ~min(a, b) 2015-02-24 00:08:41 +00:00
InstCombineLoadStoreAlloca.cpp [InstCombine] Remove unnecessary variable indexing into single-element arrays 2015-02-20 03:05:53 +00:00
InstCombineMulDivRem.cpp InstSimplify: simplify 0 / X if nnan and nsz 2015-02-23 18:30:25 +00:00
InstCombinePHI.cpp [PM] Rename InstCombine.h to InstCombineInternal.h in preparation for 2015-01-22 05:25:13 +00:00
InstCombineSelect.cpp New instcombine rule: max(~a,~b) -> ~min(a, b) 2015-02-24 00:08:41 +00:00
InstCombineShifts.cpp [PM] Rename InstCombine.h to InstCombineInternal.h in preparation for 2015-01-22 05:25:13 +00:00
InstCombineSimplifyDemanded.cpp [PM] Rename InstCombine.h to InstCombineInternal.h in preparation for 2015-01-22 05:25:13 +00:00
InstCombineVectorOps.cpp [PM] Rename InstCombine.h to InstCombineInternal.h in preparation for 2015-01-22 05:25:13 +00:00
InstructionCombining.cpp [InstCombine] Do not insert a GEP instruction before a landingpad instruction. 2015-02-18 03:30:11 +00:00
LLVMBuild.txt Update libdeps since TLI was moved from Target to Analysis in r226078. 2015-01-15 05:21:00 +00:00
Makefile