llvm-6502/lib/CodeGen/SelectionDAG
Dale Johannesen 4c9369df57 Fix FP_TO_UINT->i32 on ppc32 -mcpu=g5. This was
using Promote which won't work because i64 isn't
a legal type.  It's easy enough to use Custom, but
then we have the problem that when the type
legalizer is promoting FP_TO_UINT->i16, it has no
way of telling it should prefer FP_TO_SINT->i32
to FP_TO_UINT->i32.  I have uncomfortably hacked
this by making the type legalizer choose FP_TO_SINT
when both are Custom.
This fixes several regressions in the testsuite.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72891 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04 20:53:52 +00:00
..
CallingConvLower.cpp Minor top-level comment fix. 2009-03-31 16:51:18 +00:00
CMakeLists.txt Update for CMakeLists; untested, so tell me if there are issues. 2009-05-24 09:13:13 +00:00
DAGCombiner.cpp Don't do the X * 0.0 -> 0.0 transformation in instcombine, because 2009-06-04 17:12:12 +00:00
FastISel.cpp Add a new codegen pass that normalizes dwarf exception handling 2009-05-22 20:36:31 +00:00
LegalizeDAG.cpp Re-commit r72514 and r72516 with a fixed version of BR_CC lowering. 2009-05-28 20:40:34 +00:00
LegalizeFloatTypes.cpp Rename CustomLowerResults to CustomLowerNode, since 2009-05-31 04:15:38 +00:00
LegalizeIntegerTypes.cpp Fix FP_TO_UINT->i32 on ppc32 -mcpu=g5. This was 2009-06-04 20:53:52 +00:00
LegalizeTypes.cpp Rename CustomLowerResults to CustomLowerNode, since 2009-05-31 04:15:38 +00:00
LegalizeTypes.h Revert 72707 and 72709, for the moment. 2009-06-02 03:12:52 +00:00
LegalizeTypesGeneric.cpp Refactor the code to grab the low and high parts of a value 2009-04-25 17:55:53 +00:00
LegalizeVectorOps.cpp Remove special cases for more opcodes. 2009-05-27 07:58:35 +00:00
LegalizeVectorTypes.cpp Implement review feedback for vector shuffle work. 2009-04-29 05:20:52 +00:00
Makefile
ScheduleDAGFast.cpp Instead of passing in an unsigned value for the optimization level, use an enum, 2009-04-29 23:29:43 +00:00
ScheduleDAGList.cpp Instead of passing in an unsigned value for the optimization level, use an enum, 2009-04-29 23:29:43 +00:00
ScheduleDAGRRList.cpp Instead of passing in an unsigned value for the optimization level, use an enum, 2009-04-29 23:29:43 +00:00
ScheduleDAGSDNodes.cpp Revert 72707 and 72709, for the moment. 2009-06-02 03:12:52 +00:00
ScheduleDAGSDNodes.h Rename COPY_TO_SUBCLASS to COPY_TO_REGCLASS, and generalize 2009-04-13 21:06:25 +00:00
ScheduleDAGSDNodesEmit.cpp Silence Release-Asserts warnings. 2009-05-18 16:43:04 +00:00
SelectionDAG.cpp Don't do the X * 0.0 -> 0.0 transformation in instcombine, because 2009-06-04 17:12:12 +00:00
SelectionDAGBuild.cpp Add a new codegen pass that normalizes dwarf exception handling 2009-05-22 20:36:31 +00:00
SelectionDAGBuild.h Temporarily revert r72191. It was causing an assert during llvm-gcc 2009-05-21 00:04:55 +00:00
SelectionDAGISel.cpp Add a new step to legalization to legalize vector math operations. This 2009-05-23 12:35:30 +00:00
SelectionDAGPrinter.cpp Fix some significant problems with constant pools that resulted in unnecessary paddings between constant pool entries, larger than necessary alignments (e.g. 8 byte alignment for .literal4 sections), and potentially other issues. 2009-03-13 07:51:59 +00:00
TargetLowering.cpp Add a new codegen pass that normalizes dwarf exception handling 2009-05-22 20:36:31 +00:00