[llvm-commits] [llvm] r59276 - /llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h

Dan Gohman gohman at apple.com
Thu Nov 13 15:41:41 PST 2008


Author: djg
Date: Thu Nov 13 17:41:41 2008
New Revision: 59276

URL: http://llvm.org/viewvc/llvm-project?rev=59276&view=rev
Log:
Clarify the comment about NumPreds and NumSuccs to reflect that they only
count non-control preds and succs.

Modified:
    llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h

Modified: llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h?rev=59276&r1=59275&r2=59276&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h (original)
+++ llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h Thu Nov 13 17:41:41 2008
@@ -111,8 +111,8 @@
     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.





More information about the llvm-commits mailing list