mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Add debugging output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84011 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9688079e07
commit
d452ea6a64
@ -643,8 +643,18 @@ bool SchedulePostRATDList::BreakAntiDependencies() {
|
||||
Max = SU;
|
||||
}
|
||||
|
||||
DEBUG(errs() << "Critical path has total latency "
|
||||
<< (Max->getDepth() + Max->Latency) << "\n");
|
||||
#ifndef NDEBUG
|
||||
{
|
||||
DEBUG(errs() << "Critical path has total latency "
|
||||
<< (Max->getDepth() + Max->Latency) << "\n");
|
||||
DEBUG(errs() << "Available regs:");
|
||||
for (unsigned Reg = 0; Reg < TRI->getNumRegs(); ++Reg) {
|
||||
if (KillIndices[Reg] == ~0u)
|
||||
DEBUG(errs() << " " << TRI->getName(Reg));
|
||||
}
|
||||
DEBUG(errs() << '\n');
|
||||
}
|
||||
#endif
|
||||
|
||||
// Track progress along the critical path through the SUnit graph as we walk
|
||||
// the instructions.
|
||||
|
Loading…
Reference in New Issue
Block a user