[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp

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



Changes in directory llvm/lib/Target/PowerPC:

PPCISelDAGToDAG.cpp updated: 1.153 -> 1.154
---
Log message:

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


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

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


Index: llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.153 llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.154
--- llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.153	Fri Jan 27 17:34:02 2006
+++ llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp	Sun Feb  5 00:46:41 2006
@@ -27,6 +27,7 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/MathExtras.h"
 #include <iostream>
+#include <set>
 using namespace llvm;
 
 namespace {
@@ -152,7 +153,7 @@
   }
     
   // 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