// This may initialize a DFSResult to be used for queue priority.
SchedImpl->initialize(this);
- DEBUG(for (unsigned su = 0, e = SUnits.size(); su != e; ++su)
- SUnits[su].dumpAll(this));
+ DEBUG(
+ if (EntrySU.getInstr() != nullptr)
+ EntrySU.dumpAll(this);
+ for (unsigned su = 0, e = SUnits.size(); su != e; ++su)
+ SUnits[su].dumpAll(this);
+ if (ExitSU.getInstr() != nullptr)
+ ExitSU.dumpAll(this);
+ );
if (ViewMISchedDAGs) viewGraph();
// Initialize ready queues now that the DAG and priority data are finalized.
SchedImpl->initialize(this);
DEBUG(
+ if (EntrySU.getInstr() != nullptr)
+ EntrySU.dumpAll(this);
for (const SUnit &SU : SUnits) {
SU.dumpAll(this);
if (ShouldTrackPressure) {
}
dbgs() << '\n';
}
+ if (ExitSU.getInstr() != nullptr)
+ ExitSU.dumpAll(this);
);
if (ViewMISchedDAGs) viewGraph();