Skip to content

Commit

Permalink
[AIE-POSTPIPELINER] More compact logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Martien de Jong authored and martien-de-jong committed Oct 22, 2024
1 parent 9edd9d5 commit 9fcbc8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llvm/lib/Target/AIE/AIEPostPipeliner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ int PostPipeliner::getResMII(MachineBasicBlock &LoopBlock) {
// the next instance of SU.
void PostPipeliner::scheduleNode(SUnit &SU, int Cycle) {
LLVM_DEBUG(dbgs() << "PostPipeline " << SU.NodeNum << " in cycle " << Cycle
<< "\n");
<< ". ");
Info[SU.NodeNum].Cycle = Cycle;
for (auto &Dep : SU.Succs) {
int Latency = Dep.getSignedLatency();
Expand All @@ -146,10 +146,10 @@ void PostPipeliner::scheduleNode(SUnit &SU, int Cycle) {
const int NewEarliest = Cycle + Latency;
if (NewEarliest > Info[SNum].Earliest) {
Info[SNum].Earliest = NewEarliest;
LLVM_DEBUG(dbgs() << " Earliest(" << SNum << ") to "
<< Info[SNum].Earliest << "\n");
LLVM_DEBUG(dbgs() << SNum << " to " << Info[SNum].Earliest << "; ");
}
}
LLVM_DEBUG(dbgs() << "\n");

int Next = SU.NodeNum + NInstr;
if (Next < NTotalInstrs) {
Expand Down

0 comments on commit 9fcbc8e

Please sign in to comment.