From 9fcbc8e139244b8faf77c64845be58b12261a150 Mon Sep 17 00:00:00 2001 From: Martien de Jong Date: Tue, 15 Oct 2024 15:05:13 +0200 Subject: [PATCH] [AIE-POSTPIPELINER] More compact logging --- llvm/lib/Target/AIE/AIEPostPipeliner.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/AIE/AIEPostPipeliner.cpp b/llvm/lib/Target/AIE/AIEPostPipeliner.cpp index 0cd2df182e13..961aacb6acca 100644 --- a/llvm/lib/Target/AIE/AIEPostPipeliner.cpp +++ b/llvm/lib/Target/AIE/AIEPostPipeliner.cpp @@ -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(); @@ -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) {