[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 26 17:58:17 PDT 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
ScheduleDAG.cpp updated: 1.16 -> 1.17
---
Log message:
fix PHI node emission for basic blocks that have select_cc's in them on ppc32
---
Diffs of the changes: (+3 -2)
ScheduleDAG.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.16 llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.17
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.16 Fri Aug 26 15:54:47 2005
+++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp Fri Aug 26 19:58:02 2005
@@ -52,8 +52,9 @@
assert(&MRI && "Target doesn't provide register info?");
}
- void Run() {
+ MachineBasicBlock *Run() {
Emit(DAG.getRoot());
+ return BB;
}
private:
@@ -229,5 +230,5 @@
/// graph.
void SelectionDAGISel::ScheduleAndEmitDAG(SelectionDAG &SD) {
if (ViewDAGs) SD.viewGraph();
- SimpleSched(SD, BB).Run();
+ BB = SimpleSched(SD, BB).Run();
}
More information about the llvm-commits
mailing list