summaryrefslogtreecommitdiffstats
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
commit059dc8d32a3bd6461d40d48c47bea61f3b156e05 (patch)
treed294a17cb2d1ab0cf5f1958d30cdb027b5805f8a
parentfabdcce6771498b3dae48bbbb088b0382f371488 (diff)
downloadbcm5719-llvm-059dc8d32a3bd6461d40d48c47bea61f3b156e05.tar.gz
bcm5719-llvm-059dc8d32a3bd6461d40d48c47bea61f3b156e05.zip
Clarify the comment about NumPreds and NumSuccs to reflect that they only
count non-control preds and succs. llvm-svn: 59276
-rw-r--r--llvm/include/llvm/CodeGen/ScheduleDAG.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/ScheduleDAG.h b/llvm/include/llvm/CodeGen/ScheduleDAG.h
index 2d4592bbe63..9dfb502fa3b 100644
--- a/llvm/include/llvm/CodeGen/ScheduleDAG.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud