commit | d3582c9bda11b1b5e0eea19d3f093814a3eaf101 | [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 | 1142b165d34c5c2b00df96af33c52f013f1401a5 | |
parent | 75ea0b83c5cbb5771846d03ef37e1f4acf0c76c2 [diff] [blame] |
Simplify SelectRoot's interface, and factor out some common code from all targets. llvm-svn: 55124
diff --git a/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp b/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp index 89dee2a..0ff735d 100644 --- a/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp +++ b/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
@@ -236,7 +236,7 @@ DEBUG(BB->dump()); // Select target instructions for the DAG. - DAG.setRoot(SelectRoot(DAG.getRoot())); + SelectRoot(); DAG.RemoveDeadNodes(); }