diff options
author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-02-19 15:08:49 +0000 |
---|---|---|
committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-02-19 15:08:49 +0000 |
commit | 68ced40a235e15c4b9fabd29866f867e097e82ed (patch) | |
tree | 8c0d9bd39f7a33d07050e51db29d9d966c31c21a /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | f1389e92015ae8c5df0579fbf7685f69f4c28955 (diff) | |
download | llvm-68ced40a235e15c4b9fabd29866f867e097e82ed.zip llvm-68ced40a235e15c4b9fabd29866f867e097e82ed.tar.gz llvm-68ced40a235e15c4b9fabd29866f867e097e82ed.tar.bz2 |
Revert "[CodeGen] Move printing '\n' from MachineInstr::print to MachineBasicBlock::print"
This reverts commit r324681.
llvm-svn: 325505
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineScheduler.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp index c0a4f65..f37479e 100644 --- a/llvm/lib/CodeGen/MachineScheduler.cpp +++ b/llvm/lib/CodeGen/MachineScheduler.cpp @@ -549,13 +549,9 @@ void MachineSchedulerBase::scheduleRegions(ScheduleDAGInstrs &Scheduler, } DEBUG(dbgs() << "********** MI Scheduling **********\n"); DEBUG(dbgs() << MF->getName() << ":" << printMBBReference(*MBB) << " " - << MBB->getName() << "\n From: " << *I << '\n' - << " To: "; - if (RegionEnd != MBB->end()) { - dbgs() << *RegionEnd << '\n'; - } else { - dbgs() << "End"; - } + << MBB->getName() << "\n From: " << *I << " To: "; + if (RegionEnd != MBB->end()) dbgs() << *RegionEnd; + else dbgs() << "End"; dbgs() << " RegionInstrs: " << NumRegionInstrs << '\n'); if (DumpCriticalPathLength) { errs() << MF->getName(); @@ -1137,7 +1133,7 @@ void ScheduleDAGMILive::updatePressureDiffs( DEBUG( dbgs() << " UpdateRegP: SU(" << SU.NodeNum << ") " << printReg(Reg, TRI) << ':' << PrintLaneMask(P.LaneMask) - << ' ' << *SU.getInstr() << '\n'; + << ' ' << *SU.getInstr(); dbgs() << " to "; PDiff.dump(*TRI); ); @@ -1174,7 +1170,7 @@ void ScheduleDAGMILive::updatePressureDiffs( PDiff.addPressureChange(Reg, true, &MRI); DEBUG( dbgs() << " UpdateRegP: SU(" << SU->NodeNum << ") " - << *SU->getInstr() << '\n'; + << *SU->getInstr(); dbgs() << " to "; PDiff.dump(*TRI); ); @@ -3338,8 +3334,7 @@ SUnit *PostGenericScheduler::pickNode(bool &IsTopNode) { IsTopNode = true; Top.removeReady(SU); - DEBUG(dbgs() << "Scheduling SU(" << SU->NodeNum << ") " << *SU->getInstr() - << '\n'); + DEBUG(dbgs() << "Scheduling SU(" << SU->NodeNum << ") " << *SU->getInstr()); return SU; } |