1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib
Duncan Sands c882a4eba9 Revert the SelectionDAG optimization that makes
it impossible to create a MERGE_VALUES node with
only one result: sometimes it is useful to be able
to create a node with only one result out of one of
the results of a node with more than one result, for
example because the new node will eventually be used
to replace a one-result node using ReplaceAllUsesWith,
cf X86TargetLowering::ExpandFP_TO_SINT.  On the other
hand, most users of MERGE_VALUES don't need this and
for them the optimization was valuable.  So add a new
utility method getMergeValues for creating MERGE_VALUES
nodes which by default performs the optimization.
Change almost everywhere to use getMergeValues (and
tidy some stuff up at the same time).

llvm-svn: 52893
2008-06-30 10:19:09 +00:00
..
Analysis - Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an empty string for ConstantAggregateZero case which surprises selectiondag. 2008-06-30 07:31:25 +00:00
Archive Create archives with the same permissions are ar. 2008-05-24 05:42:29 +00:00
AsmParser Added MemOperands to Atomic operations since Atomics touches memory. 2008-06-25 08:15:39 +00:00
Bitcode fix warning when assertion disabled. 2008-06-21 19:47:44 +00:00
CodeGen Revert the SelectionDAG optimization that makes 2008-06-30 10:19:09 +00:00
Debugger - Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an empty string for ConstantAggregateZero case which surprises selectiondag. 2008-06-30 07:31:25 +00:00
ExecutionEngine Implement JIT support for global aliases, patch by David Chisnall! 2008-06-25 20:21:35 +00:00
Linker when linking globals, make sure to preserve the address space of the global. 2008-06-27 03:10:24 +00:00
Support Append to the ActiveTimers std::vector before looking at the timer instead 2008-06-24 22:07:07 +00:00
System Fix GetMainExecutable. Patch by Sam Bishop. 2008-06-27 22:55:30 +00:00
Target Revert the SelectionDAG optimization that makes 2008-06-30 10:19:09 +00:00
Transforms - Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an empty string for ConstantAggregateZero case which surprises selectiondag. 2008-06-30 07:31:25 +00:00
VMCore - Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an empty string for ConstantAggregateZero case which surprises selectiondag. 2008-06-30 07:31:25 +00:00
Makefile