[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp
Chris Lattner
lattner at persephone.cs.uiuc.edu
Sun Aug 28 18:07:27 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelDAGToDAG.cpp updated: 1.50 -> 1.51
---
Log message:
Fix a bug the last patch exposed in treeadd among others
---
Diffs of the changes: (+1 -1)
PPC32ISelDAGToDAG.cpp | 2 +-
1 files changed, 1 insertion, 1 deletion
Index: llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.50 llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.51
--- llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.50 Sun Aug 28 20:01:01 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp Sun Aug 28 20:07:02 2005
@@ -87,7 +87,7 @@
virtual void InstructionSelectBasicBlock(SelectionDAG &DAG) {
DEBUG(BB->dump());
// Select target instructions for the DAG.
- Select(DAG.getRoot());
+ DAG.setRoot(Select(DAG.getRoot()));
DAG.RemoveDeadNodes();
// Emit machine code to BB.
More information about the llvm-commits
mailing list