diff options
author | Andrew Trick <atrick@apple.com> | 2012-03-07 00:18:08 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-03-07 00:18:08 +0000 |
commit | e75537a243858d8293832109e61bafc8484bb52a (patch) | |
tree | 3c28c8458e10f6b7de7ebeb9239c4e69ca1df9ee | |
parent | 6cfb14f6df5fb772395d78b4c908a448010d30b0 (diff) |
misched comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152173 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/ScheduleDAG.h | 3 | ||||
-rw-r--r-- | lib/CodeGen/ScheduleDAGInstrs.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h index 72eadd9698..e75d936184 100644 --- a/include/llvm/CodeGen/ScheduleDAG.h +++ b/include/llvm/CodeGen/ScheduleDAG.h @@ -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. // //===----------------------------------------------------------------------===// diff --git a/lib/CodeGen/ScheduleDAGInstrs.h b/lib/CodeGen/ScheduleDAGInstrs.h index c7ffed96b7..e3aaffb630 100644 --- a/lib/CodeGen/ScheduleDAGInstrs.h +++ b/lib/CodeGen/ScheduleDAGInstrs.h @@ -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 |