1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 14:33:02 +02:00
llvm-mirror/lib/CodeGen/SelectionDAG
Duncan Sands 1d0b7dccf7 When promoting the result of fp_to_uint/fp_to_sint,
inform the optimizers that the result must be zero/
sign extended from the smaller type.  For example,
if a fp to unsigned i16 is promoted to fp to i32,
then we are allowed to assume that the extra 16 bits
are zero (because the result of fp to i16 is undefined
if the result does not fit in an i16).  This is
quite aggressive, but should help the optimizers
produce better code.  This requires correcting a
test which thought that fp_to_uint is some kind
of truncation, which it is not: in the testcase
(which does fp to i1), either the fp value converts
to 0 or 1 or the result is undefined, which is
quite different to truncation.

llvm-svn: 58991
2008-11-10 17:28:30 +00:00
..
CallingConvLower.cpp Add "inreg" field to CallSDNode (doesn't increase 2008-09-26 19:31:26 +00:00
CMakeLists.txt Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
DAGCombiner.cpp Added support for the following definition of shufflevector 2008-11-10 04:46:22 +00:00
FastISel.cpp Emit label for llvm.dbg.func.start of the inlined function. 2008-11-06 21:28:20 +00:00
LegalizeDAG.cpp Added support for the following definition of shufflevector 2008-11-10 04:46:22 +00:00
LegalizeFloatTypes.cpp Fix unsigned->ppcf128 conversion. 2008-11-07 19:11:43 +00:00
LegalizeIntegerTypes.cpp When promoting the result of fp_to_uint/fp_to_sint, 2008-11-10 17:28:30 +00:00
LegalizeTypes.cpp Add a bunch of libcalls for ppcf128 that were somehow 2008-10-31 14:06:52 +00:00
LegalizeTypes.h Added support for the following definition of shufflevector 2008-11-10 04:46:22 +00:00
LegalizeTypesGeneric.cpp Fix PR2977: LegalizeTypes support for expanding 2008-10-29 14:25:28 +00:00
LegalizeVectorTypes.cpp Added support for the following definition of shufflevector 2008-11-10 04:46:22 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00
ScheduleDAG.cpp SDNodes may have at most one Flag result. Update this comment 2008-10-25 17:51:24 +00:00
ScheduleDAGEmit.cpp Next round of earlyclobber handling. Approach the 2008-09-24 01:07:17 +00:00
ScheduleDAGFast.cpp Fix command-line option printing to print two spaces where needed, 2008-10-14 20:25:08 +00:00
ScheduleDAGList.cpp Fix command-line option printing to print two spaces where needed, 2008-10-14 20:25:08 +00:00
ScheduleDAGRRList.cpp Remove some unused virtual function bodies. 2008-10-31 19:06:33 +00:00
SelectionDAG.cpp Added support for the following definition of shufflevector 2008-11-10 04:46:22 +00:00
SelectionDAGBuild.cpp Added support for the following definition of shufflevector 2008-11-10 04:46:22 +00:00
SelectionDAGBuild.h Factor out the code for mapping LLVM IR condition opcodes to 2008-10-17 21:16:08 +00:00
SelectionDAGISel.cpp Take Chris' suggestion and define EnableFastISelVerbose and 2008-10-28 20:35:31 +00:00
SelectionDAGPrinter.cpp Fix bogus comparison of "const char *" with c-string literal. Use strcmp instead. 2008-10-27 22:43:07 +00:00
TargetLowering.cpp Really fix testb optimization on big-endian. 2008-11-10 07:16:42 +00:00