[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp

Evan Cheng evan.cheng at apple.com
Sat Feb 4 22:52:03 PST 2006



Changes in directory llvm/lib/Target/Sparc:

SparcISelDAGToDAG.cpp updated: 1.77 -> 1.78
---
Log message:

Use SelectRoot() as the entry to any tblgen based isel.


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

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


Index: llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
diff -u llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.77 llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.78
--- llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.77	Sat Feb  4 23:50:24 2006
+++ llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp	Sun Feb  5 00:51:51 2006
@@ -24,6 +24,7 @@
 #include "llvm/Target/TargetLowering.h"
 #include "llvm/Support/Debug.h"
 #include <iostream>
+#include <set>
 using namespace llvm;
 
 //===----------------------------------------------------------------------===//
@@ -958,7 +959,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