From: Jim Laskey Date: Mon, 19 Dec 2005 16:32:26 +0000 (+0000) Subject: Amend comment. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d845582d4a4b866513f6e3b656dc80d59dc9c05b;p=oota-llvm.git Amend comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24861 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp index efaf73c573f..49977b24f7c 100644 --- 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); }