misched comments
authorAndrew Trick <atrick@apple.com>
Wed, 7 Mar 2012 00:18:08 +0000 (00:18 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 7 Mar 2012 00:18:08 +0000 (00:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152173 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/ScheduleDAG.h
lib/CodeGen/ScheduleDAGInstrs.h

index 72eadd9698cf79b02f2458a1a7f5f61817600e6a..e75d9361843f1223ecf6b04971d0b4d71a04b116 100644 (file)
@@ -8,7 +8,8 @@
 //===----------------------------------------------------------------------===//
 //
 // This file implements the ScheduleDAG class, which is used as the common
-// base class for instruction schedulers.
+// base class for instruction schedulers. This encapsulates the scheduling DAG,
+// which is shared between SelectionDAG and MachineInstr scheduling.
 //
 //===----------------------------------------------------------------------===//
 
index c7ffed96b78f8efe1eec06ce4cfc1c78bdac337e..e3aaffb630b50bc53edec43500fd130716a35065 100644 (file)
@@ -112,6 +112,8 @@ namespace llvm {
     /// Live Intervals provides reaching defs in preRA scheduling.
     LiveIntervals *LIS;
 
+    /// After calling BuildSchedGraph, each machine instruction in the current
+    /// scheduling region is mapped to an SUnit.
     DenseMap<MachineInstr*, SUnit*> MISUnitMap;
 
     /// UnitLatencies (misnamed) flag avoids computing def-use latencies, using