From: Evan Cheng Date: Sun, 5 Feb 2006 06:51:51 +0000 (+0000) Subject: Use SelectRoot() as the entry to any tblgen based isel. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=900c826bc720e7b2349663392f5c8cb76aae4a01;p=oota-llvm.git Use SelectRoot() as the entry to any tblgen based isel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25998 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/lib/Target/Sparc/SparcISelDAGToDAG.cpp index 8cae848bb0b..4ca0176e5a4 100644 --- a/lib/Target/Sparc/SparcISelDAGToDAG.cpp +++ b/lib/Target/Sparc/SparcISelDAGToDAG.cpp @@ -24,6 +24,7 @@ #include "llvm/Target/TargetLowering.h" #include "llvm/Support/Debug.h" #include +#include 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();