aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-11-15 00:24:23 +0000
committerDan Gohman <gohman@apple.com>2008-11-15 00:24:23 +0000
commit14ad6fce43e09f37020483f7e33b7dfdc770cb6b (patch)
tree147dd3b2c1b4d04447cc12736bcf9bc3a976a446 /lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
parentade9f1893412184c164aa3eb55a3e007ec647303 (diff)
downloadexternal_llvm-14ad6fce43e09f37020483f7e33b7dfdc770cb6b.zip
external_llvm-14ad6fce43e09f37020483f7e33b7dfdc770cb6b.tar.gz
external_llvm-14ad6fce43e09f37020483f7e33b7dfdc770cb6b.tar.bz2
Correct a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59341 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
index 168e6d5..fb01375 100644
--- a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
+++ b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
@@ -148,7 +148,7 @@ void ScheduleDAGList::ScheduleNodeTopDown(SUnit *SU, unsigned CurCycle) {
Sequence.push_back(SU);
SU->Cycle = CurCycle;
- // Bottom up: release successors.
+ // Top down: release successors.
for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end();
I != E; ++I)
ReleaseSucc(I->Dep, I->isCtrl);