Skip to content

Commit fcfddf3

Browse files
Martien de Jongmartien-de-jong
Martien de Jong
authored andcommitted
[AIE] Small logging changes
1 parent 2f28705 commit fcfddf3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

llvm/lib/Target/AIE/AIEPostPipeliner.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ class ConfigStrategy : public PostPipelinerStrategy {
636636
int Length, bool TopDown,
637637
ArrayRef<PriorityComponent> Components)
638638
: PostPipelinerStrategy(DAG, Info, Length), TopDown(TopDown) {
639-
Name = "Config_" + std::to_string(Length) + std::to_string(TopDown);
639+
Name = "Config_" + std::to_string(Length) + "_" + std::to_string(TopDown);
640640
for (auto Comp : Components) {
641641
Name += "_" + getPriorityName(Comp);
642642
Priority.emplace_back(Comp);
@@ -676,9 +676,10 @@ bool PostPipeliner::tryHeuristics() {
676676
ConfigStrategy S(*DAG, Info, MinLength + ExtraStages * II, TopDown,
677677
Components);
678678
resetSchedule(/*FullReset=*/true);
679-
DEBUG_SUMMARY(dbgs() << "--- Strategy " << S.name());
679+
DEBUG_SUMMARY(dbgs() << "--- Strategy " << S.name() << "\n");
680680
if (scheduleFirstIteration(S) && scheduleOtherIterations()) {
681-
DEBUG_SUMMARY(dbgs() << " found II=" << II << "\n");
681+
DEBUG_SUMMARY(dbgs() << " Strategy " << S.name() << " found II=" << II
682+
<< "\n");
682683
return true;
683684
}
684685

0 commit comments

Comments
 (0)