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] |
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/Sparc/SparcISelDAGToDAG.cpp b/lib/Target/Sparc/SparcISelDAGToDAG.cpp index 7d2d11e..f623873 100644 --- a/lib/Target/Sparc/SparcISelDAGToDAG.cpp +++ b/lib/Target/Sparc/SparcISelDAGToDAG.cpp
@@ -66,7 +66,7 @@ DEBUG(BB->dump()); // Select target instructions for the DAG. - DAG.setRoot(SelectRoot(DAG.getRoot())); + SelectRoot(); DAG.RemoveDeadNodes(); }