From: Andrew Trick Date: Wed, 7 Mar 2012 00:18:08 +0000 (+0000) Subject: misched comments X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e75537a243858d8293832109e61bafc8484bb52a;p=oota-llvm.git misched comments git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152173 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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