llvm-6502/lib/Transforms
Jean-Luc Duprat 5e6cabd163 This is an update to a previous commit (r181216).
The earlier change list introduced the following inst combines:
B * (uitofp i1 C) —> select C, B, 0
A * (1 - uitofp i1 C) —> select C, 0, A
select C, 0, B + select C, A, 0 —> select C, A, B

Together these 3 changes would simplify :
A * (1 - uitofp i1 C) + B * uitofp i1 C 
down to :
select C, B, A

In practice we found that the first two substitutions can have a
negative effect on performance, because they reduce opportunities to
use FMA contractions; between the two options FMAs are often the
better choice.  This change list amends the previous one to enable
just these inst combines:

select C, B, 0 + select C, 0, A —> select C, B, A
A * (1 - uitofp i1 C) + B * uitofp i1 C —> select C, B, A




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182499 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-22 18:29:31 +00:00
..
Hello Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
InstCombine This is an update to a previous commit (r181216). 2013-05-22 18:29:31 +00:00
Instrumentation [msan] A no-op implementation of VarArg handling. 2013-05-21 12:27:47 +00:00
IPO GlobalOpt: fix an issue where CXAAtExitFn points to a deleted function. 2013-05-14 21:52:44 +00:00
ObjCARC [objc-arc] Fixed a spelling error and made the statistic descriptions be consistent about their usage of periods. 2013-05-15 17:43:03 +00:00
Scalar [GVN] Split critical-edge on the fly, instead of postpone edge-splitting to next 2013-05-09 18:34:27 +00:00
Utils Rename LoopSimplify.h to LoopUtils.h 2013-05-20 20:46:30 +00:00
Vectorize LoopVectorize: Make Value pointers that could be RAUW'ed a VH 2013-05-22 16:54:56 +00:00
CMakeLists.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
LLVMBuild.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
Makefile Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00