Skip to content

Commit

Permalink
[AIE] Small logging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Martien de Jong authored and martien-de-jong committed Dec 12, 2024
1 parent 2f28705 commit fcfddf3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions llvm/lib/Target/AIE/AIEPostPipeliner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ class ConfigStrategy : public PostPipelinerStrategy {
int Length, bool TopDown,
ArrayRef<PriorityComponent> 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);
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit fcfddf3

Please sign in to comment.