From fcfddf3dd588268d2c3c4f0c802918a53b6f43a5 Mon Sep 17 00:00:00 2001 From: Martien de Jong Date: Mon, 9 Dec 2024 14:30:21 +0100 Subject: [PATCH] [AIE] Small logging changes --- llvm/lib/Target/AIE/AIEPostPipeliner.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/AIE/AIEPostPipeliner.cpp b/llvm/lib/Target/AIE/AIEPostPipeliner.cpp index bedf4560c54b..48f194d0878b 100644 --- a/llvm/lib/Target/AIE/AIEPostPipeliner.cpp +++ b/llvm/lib/Target/AIE/AIEPostPipeliner.cpp @@ -636,7 +636,7 @@ class ConfigStrategy : public PostPipelinerStrategy { int Length, bool TopDown, ArrayRef Components) : PostPipelinerStrategy(DAG, Info, Length), TopDown(TopDown) { - Name = "Config_" + std::to_string(Length) + std::to_string(TopDown); + Name = "Config_" + std::to_string(Length) + "_" + std::to_string(TopDown); for (auto Comp : Components) { Name += "_" + getPriorityName(Comp); Priority.emplace_back(Comp); @@ -676,9 +676,10 @@ bool PostPipeliner::tryHeuristics() { ConfigStrategy S(*DAG, Info, MinLength + ExtraStages * II, TopDown, Components); resetSchedule(/*FullReset=*/true); - DEBUG_SUMMARY(dbgs() << "--- Strategy " << S.name()); + DEBUG_SUMMARY(dbgs() << "--- Strategy " << S.name() << "\n"); if (scheduleFirstIteration(S) && scheduleOtherIterations()) { - DEBUG_SUMMARY(dbgs() << " found II=" << II << "\n"); + DEBUG_SUMMARY(dbgs() << " Strategy " << S.name() << " found II=" << II + << "\n"); return true; }