[all-commits] [llvm/llvm-project] d6c4d4: [polly][ScheduleOptimizer] Fix long compile time(h...

Karthika Devi C via All-commits all-commits at lists.llvm.org
Tue Jan 2 10:53:43 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d6c4d4c9b910e8ad5ed7cd4825a143742041c1f4
      https://github.com/llvm/llvm-project/commit/d6c4d4c9b910e8ad5ed7cd4825a143742041c1f4
  Author: Karthika Devi C <quic_kartc at quicinc.com>
  Date:   2024-01-02 (Tue, 02 Jan 2024)

  Changed paths:
    M polly/lib/Transform/ScheduleOptimizer.cpp
    A polly/test/ScheduleOptimizer/schedule_computeout.ll

  Log Message:
  -----------
  [polly][ScheduleOptimizer] Fix long compile time(hang) reported in polly (#75141)

There is no upper cap set on current Schedule Optimizer to compute
schedule. In some cases a very long compile time taken to compute the
schedule resulting in hang kind of behavior. This patch introduces a
flag 'polly-schedule-computeout' to pass the capwhich is initialized to
300000. This patch handles the compute out cases by bailing out and
exiting gracefully.

Fixes #69090




More information about the All-commits mailing list