[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Evan Cheng
evan.cheng at apple.com
Sat Feb 4 22:46:55 PST 2006
Changes in directory llvm/lib/Target/X86:
X86ISelDAGToDAG.cpp updated: 1.41 -> 1.42
---
Log message:
Use SelectRoot() as entry of any tblgen based isel.
---
Diffs of the changes: (+2 -1)
X86ISelDAGToDAG.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
diff -u llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.41 llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.42
--- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.41 Sat Feb 4 23:25:07 2006
+++ llvm/lib/Target/X86/X86ISelDAGToDAG.cpp Sun Feb 5 00:46:41 2006
@@ -30,6 +30,7 @@
#include "llvm/Support/Debug.h"
#include "llvm/ADT/Statistic.h"
#include <iostream>
+#include <set>
using namespace llvm;
//===----------------------------------------------------------------------===//
@@ -151,7 +152,7 @@
MachineFunction::iterator FirstMBB = BB;
// Codegen the basic block.
- DAG.setRoot(Select(DAG.getRoot()));
+ DAG.setRoot(SelectRoot(DAG.getRoot()));
CodeGenMap.clear();
DAG.RemoveDeadNodes();
More information about the llvm-commits
mailing list