We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1a8b6d commit 73ef21eCopy full SHA for 73ef21e
llvm/lib/Target/AIE/AIEBasePipelinerLoopInfo.cpp
@@ -756,13 +756,13 @@ bool ZeroOverheadLoop::preferPostPipeliner(SMSchedule &SMS) {
756
// job on multi-stage live-ranges without spilling or moving.
757
758
// PostPipeliner can do nothing without tripcount > 1
759
- if (MinTripCount <= 1) {
+ if (MinTripCount <= 1 || HasIIPragma) {
760
return false;
761
}
762
763
unsigned NS = SMS.getMaxStageCount() + 1;
764
int II = SMS.getInitiationInterval();
765
- if (!HasIIPragma && NS > LoopMaxStageCount && II < PostPipelinerCutoff) {
+ if (NS > LoopMaxStageCount && II < PostPipelinerCutoff) {
766
LLVM_DEBUG(dbgs() << "PLI: Leaving high stage count for PostPipeliner\n");
767
return true;
768
0 commit comments