[llvm] r180159 - Comment a strange field in ScheduleDAG.

Andrew Trick atrick at apple.com
Tue Apr 23 16:45:09 PDT 2013


Author: atrick
Date: Tue Apr 23 18:45:08 2013
New Revision: 180159

URL: http://llvm.org/viewvc/llvm-project?rev=180159&view=rev
Log:
Comment a strange field in ScheduleDAG.

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

Modified: llvm/trunk/include/llvm/CodeGen/ScheduleDAGInstrs.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/ScheduleDAGInstrs.h?rev=180159&r1=180158&r2=180159&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/ScheduleDAGInstrs.h (original)
+++ llvm/trunk/include/llvm/CodeGen/ScheduleDAGInstrs.h Tue Apr 23 18:45:08 2013
@@ -105,6 +105,10 @@ namespace llvm {
     MachineBasicBlock::iterator RegionEnd;
 
     /// The index in BB of RegionEnd.
+    ///
+    /// This is the instruction number from the top of the current block, not
+    /// the SlotIndex. It is only used by the AntiDepBreaker and should be
+    /// removed once that client is obsolete.
     unsigned EndIndex;
 
     /// After calling BuildSchedGraph, each machine instruction in the current





More information about the llvm-commits mailing list