[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
Jim Laskey
jlaskey at apple.com
Mon Dec 19 08:32:37 PST 2005
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);
}
More information about the llvm-commits
mailing list