From 80ff2f2d363c1aae93a9df5e421d76e242d5f739 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Wed, 7 Mar 2012 00:18:08 +0000 Subject: [PATCH] misched comments llvm-svn: 152173 --- include/llvm/CodeGen/ScheduleDAG.h | 3 ++- lib/CodeGen/ScheduleDAGInstrs.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h index 72eadd9698c..e75d9361843 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 c7ffed96b78..e3aaffb630b 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 MISUnitMap; /// UnitLatencies (misnamed) flag avoids computing def-use latencies, using