[all-commits] [llvm/llvm-project] 619682: [polly][ScheduleOptimizer] Reland Fix long compile...

Karthika Devi C via All-commits all-commits at lists.llvm.org
Mon Jan 8 09:48:15 PST 2024


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

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

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

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.

Fixed the test that failed in previous commit.

Fixes #69090




More information about the All-commits mailing list