diff options
-rw-r--r-- | lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp index 8f8fa70093..1fa7f37faf 100644 --- a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp +++ b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp @@ -58,10 +58,14 @@ namespace { /// SelectionDAGISel when it has created a SelectionDAG for us to codegen. virtual void InstructionSelectBasicBlock(SelectionDAG &DAG) { DEBUG(BB->dump()); - // Codegen the basic block. + // Select target instructions for the DAG. Select(DAG.getRoot()); DAG.RemoveDeadNodes(); + DAG.viewGraph(); + + // Emit machine code to BB. + ScheduleAndEmitDAG(DAG); } virtual const char *getPassName() const { |