summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2013-04-30 21:17:07 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2013-04-30 21:17:07 +0000
commit9da442f5068839dbc049cee3556855a17a85802e (patch)
tree2abf41fa2f40393ae9f90f5a41f953508e34e0c1 /llvm/lib
parent9feda6071a1b80847d70daaf6d53329e6812f2c0 (diff)
downloadbcm5719-llvm-9da442f5068839dbc049cee3556855a17a85802e.tar.gz
bcm5719-llvm-9da442f5068839dbc049cee3556855a17a85802e.zip
[mips] Simplify code.
No intended functionality changes. llvm-svn: 180807
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Mips/MipsISelLowering.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.cpp b/llvm/lib/Target/Mips/MipsISelLowering.cpp
index 5e0b73186f1..8a0673feb64 100644
--- a/llvm/lib/Target/Mips/MipsISelLowering.cpp
+++ b/llvm/lib/Target/Mips/MipsISelLowering.cpp
@@ -711,10 +711,7 @@ void
MipsTargetLowering::ReplaceNodeResults(SDNode *N,
SmallVectorImpl<SDValue> &Results,
SelectionDAG &DAG) const {
- SDValue Res = LowerOperation(SDValue(N, 0), DAG);
-
- for (unsigned I = 0, E = Res->getNumValues(); I != E; ++I)
- Results.push_back(Res.getValue(I));
+ return LowerOperationWrapper(N, Results, DAG);
}
SDValue MipsTargetLowering::
OpenPOWER on IntegriCloud