summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-02-05 06:51:51 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-02-05 06:51:51 +0000
commita28b7648864f0b74ec3bc56c8bf68be5674f6aa8 (patch)
treed6d836b08f9f93dac87082a9f2720f5007fa2dfc /llvm/lib
parent54cb1833a42e1cd847e2d9a7f8732f99f7f8c12b (diff)
downloadbcm5719-llvm-a28b7648864f0b74ec3bc56c8bf68be5674f6aa8.tar.gz
bcm5719-llvm-a28b7648864f0b74ec3bc56c8bf68be5674f6aa8.zip
Use SelectRoot() as the entry to any tblgen based isel.
llvm-svn: 25998
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
index 8cae848bb0b..4ca0176e5a4 100644
--- a/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
+++ b/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
@@ -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 @@ void SparcDAGToDAGISel::InstructionSelectBasicBlock(SelectionDAG &DAG) {
DEBUG(BB->dump());
// Select target instructions for the DAG.
- DAG.setRoot(Select(DAG.getRoot()));
+ DAG.setRoot(SelectRoot(DAG.getRoot()));
CodeGenMap.clear();
DAG.RemoveDeadNodes();
OpenPOWER on IntegriCloud