[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp

Evan Cheng evan.cheng at apple.com
Sat Feb 4 22:46:55 PST 2006



Changes in directory llvm/lib/Target/Alpha:

AlphaISelDAGToDAG.cpp updated: 1.31 -> 1.32
---
Log message:

Use SelectRoot() as entry of any tblgen based isel.


---
Diffs of the changes:  (+2 -1)

 AlphaISelDAGToDAG.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp:1.31 llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp:1.32
--- llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp:1.31	Sun Jan 29 00:25:22 2006
+++ llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp	Sun Feb  5 00:46:41 2006
@@ -29,6 +29,7 @@
 #include "llvm/Support/MathExtras.h"
 #include <algorithm>
 #include <iostream>
+#include <set>
 using namespace llvm;
 
 namespace {
@@ -139,7 +140,7 @@
   DEBUG(BB->dump());
   
   // Select target instructions for the DAG.
-  DAG.setRoot(Select(DAG.getRoot()));
+  DAG.setRoot(SelectRoot(DAG.getRoot()));
   CodeGenMap.clear();
   DAG.RemoveDeadNodes();
   






More information about the llvm-commits mailing list