aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-11-13 23:41:41 +0000
committerDan Gohman <gohman@apple.com>2008-11-13 23:41:41 +0000
commitae78a88e12fa3d5f0cdb723cf009dfd71eb35a70 (patch)
tree0e3bbdd0ddf0de48934c92cc7bf895b3e3379439
parentffa6d962a7d75500269ce5d2012b58249fee3d6d (diff)
downloadexternal_llvm-ae78a88e12fa3d5f0cdb723cf009dfd71eb35a70.tar.gz
external_llvm-ae78a88e12fa3d5f0cdb723cf009dfd71eb35a70.tar.bz2
external_llvm-ae78a88e12fa3d5f0cdb723cf009dfd71eb35a70.zip
Clarify the comment about NumPreds and NumSuccs to reflect that they only
count non-control preds and succs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59276 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/ScheduleDAG.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h
index 2d4592bbe6..9dfb502fa3 100644
--- a/include/llvm/CodeGen/ScheduleDAG.h
+++ b/include/llvm/CodeGen/ScheduleDAG.h
@@ -111,8 +111,8 @@ namespace llvm {
unsigned NodeNum; // Entry # of node in the node vector.
unsigned NodeQueueId; // Queue id of node.
unsigned short Latency; // Node latency.
- short NumPreds; // # of preds.
- short NumSuccs; // # of sucss.
+ short NumPreds; // # of non-control preds.
+ short NumSuccs; // # of non-control sucss.
short NumPredsLeft; // # of preds not scheduled.
short NumSuccsLeft; // # of succs not scheduled.
bool isTwoAddress : 1; // Is a two-address instruction.