commit | bd3f882ed9e9d043aef38f43e97b680d93100d9c | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Aug 21 16:36:34 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Aug 21 16:36:34 2008 +0000 |
tree | 8734fb2e04f095fd6c1dcbda1d89fa9debb00153 | |
parent | 9b93aed3ded5061f3c45401032f12d152a35c0e2 [diff] [blame] |
Simplify SelectRoot's interface, and factor out some common code from all targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55124 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp index 65ab4d2..c647955 100644 --- a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp +++ b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
@@ -207,7 +207,7 @@ DEBUG(BB->dump()); // Select target instructions for the DAG. - DAG.setRoot(SelectRoot(DAG.getRoot())); + SelectRoot(); DAG.RemoveDeadNodes(); }