diff options
author | Dan Gohman <gohman@apple.com> | 2008-11-13 23:41:41 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-11-13 23:41:41 +0000 |
commit | ae78a88e12fa3d5f0cdb723cf009dfd71eb35a70 (patch) | |
tree | 0e3bbdd0ddf0de48934c92cc7bf895b3e3379439 | |
parent | ffa6d962a7d75500269ce5d2012b58249fee3d6d (diff) | |
download | external_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.h | 4 |
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. |