diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-06-30 20:45:06 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-06-30 20:45:06 +0000 |
commit | db8d56b825efeb576d67b9dbe39d736d93306222 (patch) | |
tree | 21c502b1830ad5a3b35d45a749de078f1452b289 /lib/Target/CellSPU | |
parent | 30389141c9c7270b4733ec0b9bc5ad58541f39da (diff) | |
download | external_llvm-db8d56b825efeb576d67b9dbe39d736d93306222.zip external_llvm-db8d56b825efeb576d67b9dbe39d736d93306222.tar.gz external_llvm-db8d56b825efeb576d67b9dbe39d736d93306222.tar.bz2 |
Split scheduling from instruction selection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52923 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU')
-rw-r--r-- | lib/Target/CellSPU/SPUISelDAGToDAG.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/Target/CellSPU/SPUISelDAGToDAG.cpp b/lib/Target/CellSPU/SPUISelDAGToDAG.cpp index d0261fd..6bc69ee 100644 --- a/lib/Target/CellSPU/SPUISelDAGToDAG.cpp +++ b/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); } /*! |