Changes in directory llvm/lib/CodeGen/SelectionDAG:
ScheduleDAG.cpp updated: 1.52 -> 1.53 --- Log message: Amend comment. --- Diffs of the changes: (+2 -1) ScheduleDAG.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.52 llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.53 --- llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.52 Mon Dec 19 10:30:13 2005 +++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp Mon Dec 19 10:32:26 2005 @@ -860,7 +860,8 @@ /// isStrongDependency - Return true if node A has results used by node B. /// I.E., B must wait for latency of A. bool SimpleSched::isStrongDependency(NodeInfo *A, NodeInfo *B) { - // If A defines for B then it's a strong dependency + // If A defines for B then it's a strong dependency or + // if a load follows a store (may be dependent but why take a chance.) return isDefiner(A, B) || (A->IsStore && B->IsLoad); } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits