summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-21 16:36:34 +0000
committerDan Gohman <gohman@apple.com>2008-08-21 16:36:34 +0000
commitd3582c9bda11b1b5e0eea19d3f093814a3eaf101 (patch)
tree1142b165d34c5c2b00df96af33c52f013f1401a5 /llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
parent75ea0b83c5cbb5771846d03ef37e1f4acf0c76c2 (diff)
downloadbcm5719-llvm-d3582c9bda11b1b5e0eea19d3f093814a3eaf101.tar.gz
bcm5719-llvm-d3582c9bda11b1b5e0eea19d3f093814a3eaf101.zip
Simplify SelectRoot's interface, and factor out some common code
from all targets. llvm-svn: 55124
Diffstat (limited to 'llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp')
-rw-r--r--llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp b/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
index f463d3ad7d1..94fdb3526db 100644
--- a/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
+++ b/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
@@ -113,7 +113,7 @@ InstructionSelect(SelectionDAG &SD)
#endif
// Select target instructions for the DAG.
- SD.setRoot(SelectRoot(SD.getRoot()));
+ SelectRoot();
#ifndef NDEBUG
DOUT << "===== Instruction selection ends:\n";
OpenPOWER on IntegriCloud