Skip to content

Commit 30cd234

Browse files
Martien de Jongmartien-de-jong
authored andcommitted
[AIE] Remove redundant checkStages()
1 parent dff332f commit 30cd234

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

llvm/lib/Target/AIE/AIEPostPipeliner.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -979,15 +979,10 @@ bool PostPipeliner::tryHeuristics() {
979979
DEBUG_SUMMARY(dbgs() << "--- Strategy " << S.name() << " run=" << Run
980980
<< "\n");
981981
if (scheduleFirstIteration(S) && scheduleOtherIterations(S)) {
982-
DEBUG_SUMMARY(dbgs() << " Strategy " << S.name() << " run=" << Run
983-
<< " found schedule:\n");
984-
const bool Success = checkStages();
985982
DEBUG_SUMMARY(dbgs()
986983
<< " Strategy " << S.name() << " run=" << Run
987984
<< " found NS=" << NStages << " II=" << II << "\n");
988-
if (Success) {
989-
return true;
990-
}
985+
return true;
991986
}
992987
if (!S.checkAndResetChanged()) {
993988
// If nothing changed, there's no use in rerunning.

0 commit comments

Comments
 (0)