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
This commit is contained in:
Dan Gohman
2008-11-13 23:41:41 +00:00
parent ffa6d962a7
commit ae78a88e12

View File

@@ -111,8 +111,8 @@ namespace llvm {
unsigned NodeNum; // Entry # of node in the node vector. unsigned NodeNum; // Entry # of node in the node vector.
unsigned NodeQueueId; // Queue id of node. unsigned NodeQueueId; // Queue id of node.
unsigned short Latency; // Node latency. unsigned short Latency; // Node latency.
short NumPreds; // # of preds. short NumPreds; // # of non-control preds.
short NumSuccs; // # of sucss. short NumSuccs; // # of non-control sucss.
short NumPredsLeft; // # of preds not scheduled. short NumPredsLeft; // # of preds not scheduled.
short NumSuccsLeft; // # of succs not scheduled. short NumSuccsLeft; // # of succs not scheduled.
bool isTwoAddress : 1; // Is a two-address instruction. bool isTwoAddress : 1; // Is a two-address instruction.