Clarify the comment about NumPreds and NumSuccs to reflect that they only
authorDan Gohman <gohman@apple.com>
Thu, 13 Nov 2008 23:41:41 +0000 (23:41 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 13 Nov 2008 23:41:41 +0000 (23:41 +0000)
count non-control preds and succs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59276 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/ScheduleDAG.h

index 2d4592bbe63cc2ca47f6132e581bddd141ac8d6a..9dfb502fa3bde6f880c0a01a6b88aa912c4a4d73 100644 (file)
@@ -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.