llvm-6502/lib/CodeGen/SelectionDAG
Chris Lattner 27a6c7380f Several changes:
1) Change the interface to TargetLowering::ExpandOperationResult to 
   take and return entire NODES that need a result expanded, not just
   the value.  This allows us to handle things like READCYCLECOUNTER,
   which returns two values.
2) Implement (extremely limited) support in LegalizeDAG::ExpandOp for MERGE_VALUES.
3) Reimplement custom lowering in LegalizeDAGTypes in terms of the new
   ExpandOperationResult.  This makes the result simpler and fully 
   general.
4) Implement (fully general) expand support for MERGE_VALUES in LegalizeDAGTypes.
5) Implement ExpandOperationResult support for ARM f64->i64 bitconvert and ARM
   i64 shifts, allowing them to work with LegalizeDAGTypes.
6) Implement ExpandOperationResult support for X86 READCYCLECOUNTER and FP_TO_SINT,
   allowing them to work with LegalizeDAGTypes.

LegalizeDAGTypes now passes several more X86 codegen tests when enabled and when
type legalization in LegalizeDAG is ifdef'd out.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44300 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-24 07:07:01 +00:00
..
CallingConvLower.cpp propagate struct size and alignment of byval arguments to the DAG 2007-08-10 14:44:42 +00:00
DAGCombiner.cpp Move MinAlign to MathExtras.h. 2007-11-09 13:41:39 +00:00
LegalizeDAG.cpp Several changes: 2007-11-24 07:07:01 +00:00
LegalizeDAGTypes.cpp Several changes: 2007-11-24 07:07:01 +00:00
Makefile For PR780: 2006-07-26 16:18:00 +00:00
ScheduleDAG.cpp Make labels work in asm blocks; allow labels as 2007-11-05 21:20:28 +00:00
ScheduleDAGList.cpp Make CalcLatency() non-recursive. 2007-10-15 21:33:22 +00:00
ScheduleDAGRRList.cpp Bug fix. Passive nodes are not in SUnitMap. 2007-11-09 01:27:11 +00:00
SelectionDAG.cpp Implement necessary bits for flt_rounds gcc builtin. 2007-11-15 23:25:33 +00:00
SelectionDAGISel.cpp Several changes: 2007-11-24 07:07:01 +00:00
SelectionDAGPrinter.cpp Add a (disabled by default) way to view the ID of a node. 2007-10-15 05:32:43 +00:00
TargetLowering.cpp Much improved pic jumptable codegen: 2007-11-09 01:32:10 +00:00