projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de48ee2
)
Amend comment.
author
Jim Laskey
<jlaskey@mac.com>
Mon, 19 Dec 2005 16:32:26 +0000
(16:32 +0000)
committer
Jim Laskey
<jlaskey@mac.com>
Mon, 19 Dec 2005 16:32:26 +0000
(16:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24861
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
index efaf73c573f0ac2c47d0eb6425f7dad0b53243fd..49977b24f7c774a8f578dbaad896eb19da3a1ec0 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
@@
-860,7
+860,8
@@
void SimpleSched::PrepareNodeInfo() {
/// 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);
}