[polly] [llvm] [clang] [polly][ScheduleOptimizer] Fix long compile time(hang) reported in polly (PR #75141)

Andres Villegas via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 2 17:52:22 PST 2024


avillega wrote:

I think this change might be breaking some of our builds, please revert if possible. 
This is the error I am getting:
```
******************** TEST 'Polly :: ScheduleOptimizer/schedule_computeout.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /b/s/w/ir/x/w/llvm_build/tools/clang/stage2-bins/bin/opt -S -polly-optree -polly-delicm  -polly-opt-isl -polly-schedule-computeout=100000 -debug-only="polly-opt-isl" < /b/s/w/ir/x/w/llvm-llvm-project/polly/test/ScheduleOptimizer/schedule_computeout.ll 2>&1 | /b/s/w/ir/x/w/llvm_build/tools/clang/stage2-bins/bin/FileCheck /b/s/w/ir/x/w/llvm-llvm-project/polly/test/ScheduleOptimizer/schedule_computeout.ll
+ /b/s/w/ir/x/w/llvm_build/tools/clang/stage2-bins/bin/opt -S -polly-optree -polly-delicm -polly-opt-isl -polly-schedule-computeout=100000 -debug-only=polly-opt-isl
+ /b/s/w/ir/x/w/llvm_build/tools/clang/stage2-bins/bin/FileCheck /b/s/w/ir/x/w/llvm-llvm-project/polly/test/ScheduleOptimizer/schedule_computeout.ll
/b/s/w/ir/x/w/llvm-llvm-project/polly/test/ScheduleOptimizer/schedule_computeout.ll:94:10: error: CHECK: expected string not found in input
; CHECK: Schedule optimizer calculation exceeds ISL quota
         ^
<stdin>:1:1: note: scanning from here
opt: Unknown command line argument '-debug-only=polly-opt-isl'. Try: '/b/s/w/ir/x/w/llvm_build/tools/clang/stage2-bins/bin/opt --help'
^
<stdin>:2:20: note: possible intended match here
opt: Did you mean '--debug-pass=polly-opt-isl'?
                   ^

Input file: <stdin>
Check file: /b/s/w/ir/x/w/llvm-llvm-project/polly/test/ScheduleOptimizer/schedule_computeout.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            1: opt: Unknown command line argument '-debug-only=polly-opt-isl'. Try: '/b/s/w/ir/x/w/llvm_build/tools/clang/stage2-bins/bin/opt --help' 
check:94'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
            2: opt: Did you mean '--debug-pass=polly-opt-isl'? 
check:94'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:94'1                        ?                             possible intended match
>>>>>>

--

********************
```

https://github.com/llvm/llvm-project/pull/75141


More information about the cfe-commits mailing list