Skip to content

Commit 2cc111e

Browse files
committed
Revert "[polly][ScheduleOptimizer] Fix long compile time(hang) reported in polly (#75141)"
This reverts commit d6c4d4c. Broke buildldbots with asserts disabled; -debug-only is only available in asserts builds.
1 parent 82fabd5 commit 2cc111e

File tree

2 files changed

+1
-111
lines changed

2 files changed

+1
-111
lines changed

polly/lib/Transform/ScheduleOptimizer.cpp

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,6 @@ static cl::opt<std::string>
9696
cl::desc("Maximize the band depth (yes/no)"), cl::Hidden,
9797
cl::init("yes"), cl::cat(PollyCategory));
9898

99-
static cl::opt<int>
100-
ScheduleComputeOut("polly-schedule-computeout",
101-
cl::desc("Bound the scheduler by maximal amount"
102-
"of computational steps. "),
103-
cl::Hidden, cl::init(300000), cl::ZeroOrMore,
104-
cl::cat(PollyCategory));
105-
10699
static cl::opt<bool>
107100
GreedyFusion("polly-loopfusion-greedy",
108101
cl::desc("Aggressively try to fuse everything"), cl::Hidden,
@@ -867,16 +860,7 @@ static void runIslScheduleOptimizer(
867860
SC = SC.set_proximity(Proximity);
868861
SC = SC.set_validity(Validity);
869862
SC = SC.set_coincidence(Validity);
870-
871-
{
872-
IslMaxOperationsGuard MaxOpGuard(Ctx, ScheduleComputeOut);
873-
Schedule = SC.compute_schedule();
874-
875-
if (MaxOpGuard.hasQuotaExceeded())
876-
LLVM_DEBUG(
877-
dbgs() << "Schedule optimizer calculation exceeds ISL quota\n");
878-
}
879-
863+
Schedule = SC.compute_schedule();
880864
isl_options_set_on_error(Ctx, OnErrorStatus);
881865

882866
ScopsRescheduled++;

polly/test/ScheduleOptimizer/schedule_computeout.ll

Lines changed: 0 additions & 94 deletions
This file was deleted.

0 commit comments

Comments
 (0)