summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CellSPU
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/CellSPU
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/CellSPU')
-rw-r--r--llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp b/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp
index 84a1bd85424..c8d04b46cb5 100644
--- a/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp
+++ b/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp
@@ -347,7 +347,7 @@ SPUDAGToDAGISel::InstructionSelect(SelectionDAG &DAG)
DEBUG(BB->dump());
// Select target instructions for the DAG.
- DAG.setRoot(SelectRoot(DAG.getRoot()));
+ SelectRoot();
DAG.RemoveDeadNodes();
}
OpenPOWER on IntegriCloud