[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Aug 18 11:46:18 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelDAGToDAG.cpp updated: 1.10 -> 1.11
---
Log message:
After selecting the instructions for a basic block, emit the instructions
---
Diffs of the changes: (+5 -1)
PPC32ISelDAGToDAG.cpp | 6 +++++-
1 files changed, 5 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.10 llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.11
--- llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.10 Thu Aug 18 13:34:00 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp Thu Aug 18 13:46:06 2005
@@ -58,10 +58,14 @@
/// 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 {
More information about the llvm-commits
mailing list