[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
Evan Cheng
evan.cheng at apple.com
Wed Jan 25 10:54:36 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
ScheduleDAG.cpp updated: 1.58 -> 1.59
---
Log message:
No need to keep track of top and bottom nodes in a group since the vector is
already in order. Thanks Jim for pointing it out.
---
Diffs of the changes: (+0 -5)
ScheduleDAG.cpp | 5 -----
1 files changed, 5 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.58 llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.59
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.58 Wed Jan 25 03:13:41 2006
+++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp Wed Jan 25 12:54:24 2006
@@ -464,7 +464,6 @@
// Merge the two lists
DGroup->group_insert(DGroup->group_end(),
UGroup->group_begin(), UGroup->group_end());
- DGroup->Bottom = UGroup->Bottom;
} else if (DGroup) {
// Make user member of definers group
U->Group = DGroup;
@@ -477,7 +476,6 @@
DGroup->addPending(-CountInternalUses(DNI, U));
}
DGroup->group_push_back(U);
- DGroup->Bottom = U;
} else if (UGroup) {
// Make definer member of users group
D->Group = UGroup;
@@ -490,14 +488,11 @@
UGroup->addPending(-CountInternalUses(D, UNI));
}
UGroup->group_insert(UGroup->group_begin(), D);
- UGroup->Top = D;
} else {
D->Group = U->Group = DGroup = new NodeGroup();
DGroup->addPending(D->Node->use_size() + U->Node->use_size() -
CountInternalUses(D, U));
DGroup->group_push_back(D);
DGroup->group_push_back(U);
- DGroup->Top = D;
- DGroup->Bottom = U;
}
}
More information about the llvm-commits
mailing list