summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-11-18 21:14:44 +0000
committerDan Gohman <gohman@apple.com>2008-11-18 21:14:44 +0000
commit71b632f9059874959574801b858aeb199696f494 (patch)
tree28efa4391a98d71a2c6177245f9df48989abc973 /llvm/lib/CodeGen
parent3ca78c675e7260c5f87a3cf849ccba00af70f5e6 (diff)
downloadbcm5719-llvm-71b632f9059874959574801b858aeb199696f494.tar.gz
bcm5719-llvm-71b632f9059874959574801b858aeb199696f494.zip
Update a comment to reflect the current code.
llvm-svn: 59549
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
index 40191d2c749..c2c91108a54 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
@@ -119,9 +119,8 @@ void ScheduleDAGList::ReleaseSucc(SUnit *SU, SUnit *SuccSU, bool isChain) {
}
#endif
- // Compute how many cycles it will be before this actually becomes
- // available. This is the max of the start time of all predecessors plus
- // their latencies.
+ // Compute the cycle when this SUnit actually becomes available. This
+ // is the max of the start time of all predecessors plus their latencies.
// If this is a token edge, we don't need to wait for the latency of the
// preceeding instruction (e.g. a long-latency load) unless there is also
// some other data dependence.
OpenPOWER on IntegriCloud