mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 08:28:19 +00:00
c882a4eba9
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 |
||
---|---|---|
.. | ||
Makefile | ||
PIC16.h | ||
PIC16.td | ||
PIC16AsmPrinter.cpp | ||
PIC16CallingConv.td | ||
PIC16ConstantPoolValue.cpp | ||
PIC16ConstantPoolValue.h | ||
PIC16InstrFormats.td | ||
PIC16InstrInfo.cpp | ||
PIC16InstrInfo.h | ||
PIC16InstrInfo.td | ||
PIC16ISelDAGToDAG.cpp | ||
PIC16ISelLowering.cpp | ||
PIC16ISelLowering.h | ||
PIC16RegisterInfo.cpp | ||
PIC16RegisterInfo.h | ||
PIC16RegisterInfo.td | ||
PIC16Subtarget.cpp | ||
PIC16Subtarget.h | ||
PIC16TargetAsmInfo.cpp | ||
PIC16TargetAsmInfo.h | ||
PIC16TargetMachine.cpp | ||
PIC16TargetMachine.h |