summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CellSPU
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-06-30 20:45:06 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-06-30 20:45:06 +0000
commit0711d68fa77df0cd4e4882d98b27541cccbb4468 (patch)
tree1338885c8935e82706ecd08eade1b102428b9ac1 /llvm/lib/Target/CellSPU
parent8eb02960dbf205d4e2078c1147804f8e859595e7 (diff)
downloadbcm5719-llvm-0711d68fa77df0cd4e4882d98b27541cccbb4468.tar.gz
bcm5719-llvm-0711d68fa77df0cd4e4882d98b27541cccbb4468.zip
Split scheduling from instruction selection.
llvm-svn: 52923
Diffstat (limited to 'llvm/lib/Target/CellSPU')
-rw-r--r--llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp b/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp
index d0261fd5a7d..6bc69ee2181 100644
--- a/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp
+++ b/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp
@@ -317,9 +317,9 @@ public:
return false;
}
- /// InstructionSelectBasicBlock - This callback is invoked by
+ /// InstructionSelect - This callback is invoked by
/// SelectionDAGISel when it has created a SelectionDAG for us to codegen.
- virtual void InstructionSelectBasicBlock(SelectionDAG &DAG);
+ virtual void InstructionSelect(SelectionDAG &DAG);
virtual const char *getPassName() const {
return "Cell SPU DAG->DAG Pattern Instruction Selection";
@@ -339,19 +339,16 @@ public:
}
-/// InstructionSelectBasicBlock - This callback is invoked by
+/// InstructionSelect - This callback is invoked by
/// SelectionDAGISel when it has created a SelectionDAG for us to codegen.
void
-SPUDAGToDAGISel::InstructionSelectBasicBlock(SelectionDAG &DAG)
+SPUDAGToDAGISel::InstructionSelect(SelectionDAG &DAG)
{
DEBUG(BB->dump());
// Select target instructions for the DAG.
DAG.setRoot(SelectRoot(DAG.getRoot()));
DAG.RemoveDeadNodes();
-
- // Emit machine code to BB.
- ScheduleAndEmitDAG(DAG);
}
/*!
OpenPOWER on IntegriCloud