diff options
author | Duncan Sands <baldrick@free.fr> | 2008-12-01 11:41:29 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-12-01 11:41:29 +0000 |
commit | aaffa05d0a652dd3eae76a941d02d6b0469fa821 (patch) | |
tree | 099fbfa40effb61a5ac1273796347c001ce0433b /lib/Target/Mips | |
parent | 1607f05cb7d77d01ce521a30232faa389dbed4e2 (diff) | |
download | external_llvm-aaffa05d0a652dd3eae76a941d02d6b0469fa821.zip external_llvm-aaffa05d0a652dd3eae76a941d02d6b0469fa821.tar.gz external_llvm-aaffa05d0a652dd3eae76a941d02d6b0469fa821.tar.bz2 |
There are no longer any places that require a
MERGE_VALUES node with only one operand, so get
rid of special code that only existed to handle
that possibility.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r-- | lib/Target/Mips/MipsISelLowering.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp index 60f96ae..bc0294f 100644 --- a/lib/Target/Mips/MipsISelLowering.cpp +++ b/lib/Target/Mips/MipsISelLowering.cpp @@ -778,8 +778,8 @@ LowerCallResult(SDValue Chain, SDValue InFlag, CallSDNode *TheCall, ResultVals.push_back(Chain); // Merge everything together with a MERGE_VALUES node. - return DAG.getMergeValues(TheCall->getVTList(), &ResultVals[0], - ResultVals.size()).getNode(); + return DAG.getNode(ISD::MERGE_VALUES, TheCall->getVTList(), + &ResultVals[0], ResultVals.size()).getNode(); } //===----------------------------------------------------------------------===// @@ -921,8 +921,8 @@ LowerFORMAL_ARGUMENTS(SDValue Op, SelectionDAG &DAG) ArgValues.push_back(Root); // Return the new list of results. - return DAG.getMergeValues(Op.getNode()->getVTList(), &ArgValues[0], - ArgValues.size()).getValue(Op.getResNo()); + return DAG.getNode(ISD::MERGE_VALUES, Op.getNode()->getVTList(), + &ArgValues[0], ArgValues.size()).getValue(Op.getResNo()); } //===----------------------------------------------------------------------===// |