forked from OSchip/llvm-project
[SIMachineScheduler] Fixed ''then' statement is equivalent to the 'else' statement.' warning. NFCI.
This commit is contained in:
parent
c3d6f0ddee
commit
3fbd1c00b0
|
@ -609,13 +609,8 @@ void SIScheduleBlock::printDebug(bool full) {
|
||||||
}
|
}
|
||||||
|
|
||||||
dbgs() << "\nInstructions:\n";
|
dbgs() << "\nInstructions:\n";
|
||||||
if (!Scheduled) {
|
for (const SUnit* SU : SUnits)
|
||||||
for (const SUnit* SU : SUnits)
|
|
||||||
DAG->dumpNode(*SU);
|
DAG->dumpNode(*SU);
|
||||||
} else {
|
|
||||||
for (const SUnit* SU : SUnits)
|
|
||||||
DAG->dumpNode(*SU);
|
|
||||||
}
|
|
||||||
|
|
||||||
dbgs() << "///////////////////////\n";
|
dbgs() << "///////////////////////\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue