Skip to content

Commit

Permalink
Revert "[polly][ScheduleOptimizer] Fix long compile time(hang) report…
Browse files Browse the repository at this point in the history
…ed in polly (#75141)"

This reverts commit d6c4d4c.

Broke buildldbots with asserts disabled; -debug-only is only available in
asserts builds.
  • Loading branch information
efriedma-quic committed Jan 3, 2024
1 parent 82fabd5 commit 2cc111e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 111 deletions.
18 changes: 1 addition & 17 deletions polly/lib/Transform/ScheduleOptimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,6 @@ static cl::opt<std::string>
cl::desc("Maximize the band depth (yes/no)"), cl::Hidden,
cl::init("yes"), cl::cat(PollyCategory));

static cl::opt<int>
ScheduleComputeOut("polly-schedule-computeout",
cl::desc("Bound the scheduler by maximal amount"
"of computational steps. "),
cl::Hidden, cl::init(300000), cl::ZeroOrMore,
cl::cat(PollyCategory));

static cl::opt<bool>
GreedyFusion("polly-loopfusion-greedy",
cl::desc("Aggressively try to fuse everything"), cl::Hidden,
Expand Down Expand Up @@ -867,16 +860,7 @@ static void runIslScheduleOptimizer(
SC = SC.set_proximity(Proximity);
SC = SC.set_validity(Validity);
SC = SC.set_coincidence(Validity);

{
IslMaxOperationsGuard MaxOpGuard(Ctx, ScheduleComputeOut);
Schedule = SC.compute_schedule();

if (MaxOpGuard.hasQuotaExceeded())
LLVM_DEBUG(
dbgs() << "Schedule optimizer calculation exceeds ISL quota\n");
}

Schedule = SC.compute_schedule();
isl_options_set_on_error(Ctx, OnErrorStatus);

ScopsRescheduled++;
Expand Down
94 changes: 0 additions & 94 deletions polly/test/ScheduleOptimizer/schedule_computeout.ll

This file was deleted.

0 comments on commit 2cc111e

Please sign in to comment.