[llvm] [VPlan] Refine hasEarlyExit check. (PR #207791)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 6 13:48:36 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `polly-x86_64-linux` running on `polly-x86_64-gce1` while building `llvm` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/105/builds/19139
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 3 (annotate) failure: 'python ../llvm.src/polly/ci/polly-x86_64-linux.py ...' (failure)
...
[ 94%/0.938s :: 1->6->108 (of 114)] Checking format of /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/llvm.src/polly/lib/Transform/MatmulOptimizer.cpp...
[ 95%/1.023s :: 1->5->109 (of 114)] Linking CXX executable tools/polly/unittests/Isl/IslTests
[ 96%/1.042s :: 1->4->110 (of 114)] Linking CXX executable tools/polly/unittests/Flatten/FlattenTests
[ 97%/1.065s :: 1->3->111 (of 114)] Linking CXX executable tools/polly/unittests/Support/ISLToolsTests
[ 98%/1.133s :: 1->2->112 (of 114)] Linking CXX executable tools/polly/unittests/DeLICM/DeLICMTests
[ 99%/1.151s :: 1->1->113 (of 114)] Linking CXX executable tools/polly/unittests/ScheduleOptimizer/ScheduleOptimizerTests
[ 99%/1.151s :: 0->1->113 (of 114)] Running polly regression tests
llvm-lit: /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/llvm.src/polly/test/lit.cfg:74: note: Using Clang: /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/./bin/clang
-- Testing: 1117 tests, 8 workers --
Testing: 0.. 10.. 20.. 30..
FAIL: Polly :: Support/pipelineposition.ll (33 of 1117)
******************** TEST 'Polly :: Support/pipelineposition.ll' FAILED ********************
Exit Code: -11
Command Output (stdout):
--
# RUN: at line 1
/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt -polly-process-unprofitable -polly-remarks-minimal -polly-use-llvm-names -polly-import-jscop-dir=/srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support -polly-codegen-verify -O3 -polly -polly-position=early -disable-output -polly-print-scops < /srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support/pipelineposition.ll 2>&1 | /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/FileCheck /srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support/pipelineposition.ll --check-prefix=NOINLINE
# executed command: /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt -polly-process-unprofitable -polly-remarks-minimal -polly-use-llvm-names -polly-import-jscop-dir=/srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support -polly-codegen-verify -O3 -polly -polly-position=early -disable-output -polly-print-scops
# note: command had no output on stdout or stderr
# error: command failed with exit status: -11
# executed command: /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/FileCheck /srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support/pipelineposition.ll --check-prefix=NOINLINE
--
********************
Testing: 0.. 10.. 20.. 30.. 40..
FAIL: Polly :: Support/dumpmodule.ll (117 of 1117)
******************** TEST 'Polly :: Support/dumpmodule.ll' FAILED ********************
Exit Code: -11
Command Output (stdout):
--
# RUN: at line 1
/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt -polly-process-unprofitable -polly-remarks-minimal -polly-use-llvm-names -polly-import-jscop-dir=/srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support -polly-codegen-verify -O3 -polly -polly-position=early -polly-dump-before-file=/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/tools/polly/test/Support/Output/dumpmodule.ll.tmp-npm-before-early.ll --disable-output < /srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support/dumpmodule.ll && /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/FileCheck --input-file=/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/tools/polly/test/Support/Output/dumpmodule.ll.tmp-npm-before-early.ll --check-prefix=EARLY /srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support/dumpmodule.ll
# executed command: /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt -polly-process-unprofitable -polly-remarks-minimal -polly-use-llvm-names -polly-import-jscop-dir=/srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support -polly-codegen-verify -O3 -polly -polly-position=early -polly-dump-before-file=/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/tools/polly/test/Support/Output/dumpmodule.ll.tmp-npm-before-early.ll --disable-output
# .---command stderr------------
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt -polly-process-unprofitable -polly-remarks-minimal -polly-use-llvm-names -polly-import-jscop-dir=/srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support -polly-codegen-verify -O3 -polly -polly-position=early -polly-dump-before-file=/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/tools/polly/test/Support/Output/dumpmodule.ll.tmp-npm-before-early.ll --disable-output
# | 1. Running pass "function<eager-inv>(drop-unnecessary-assumes,float2int,lower-constant-intrinsics,chr,loop(loop-rotate<header-duplication;no-prepare-for-lto;check-exit-count>,loop-deletion,loop-interchange),loop-distribute,inject-tli-mappings,loop-vectorize<no-interleave-forced-only;no-vectorize-forced-only;>,drop-unnecessary-assumes,infer-alignment,loop-load-elim,instcombine<max-iterations=1;no-verify-fixpoint>,simplifycfg<bonus-inst-threshold=1;forward-switch-cond;switch-range-to-icmp;switch-to-arithmetic;switch-to-lookup;no-keep-loops;hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>,slp-vectorizer,vector-combine,instcombine<max-iterations=1;no-verify-fixpoint>,loop-unroll<O3>,transform-warning,sroa<preserve-cfg;aggregate-to-vector>,infer-alignment,instcombine<max-iterations=1;no-verify-fixpoint>,loop-mssa(licm<allowspeculation>),alignment-from-assumptions,loop-sink,instsimplify,div-rem-pairs,mergeicmps,expand-memcmp,tailcallelim,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;speculate-unpredictables>)" on module "<stdin>"
# | 2. Running pass "loop-vectorize<no-interleave-forced-only;no-vectorize-forced-only;>" on function "caller"
# | #0 0x0000616d538fe5d1 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt+0x1a665d1)
# | #1 0x0000616d538faabc llvm::sys::RunSignalHandlers() (/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt+0x1a62abc)
# | #2 0x0000616d538fac1c SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
# | #3 0x0000795f58c45330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x0000616d55a2287c llvm::VPlan::hasEarlyExit() const LoopVectorize.cpp:0:0
# | #5 0x0000616d55a68d42 llvm::LoopVectorizationPlanner::selectInterleaveCount(llvm::VPlan&, llvm::ElementCount, llvm::InstructionCost) (/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt+0x3bd0d42)
# | #6 0x0000616d55a7cc11 llvm::LoopVectorizePass::processLoop(llvm::Loop*) (/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt+0x3be4c11)
Step 7 (check-polly) failure: check-polly (failure)
...
[ 94%/0.938s :: 1->6->108 (of 114)] Checking format of /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/llvm.src/polly/lib/Transform/MatmulOptimizer.cpp...
[ 95%/1.023s :: 1->5->109 (of 114)] Linking CXX executable tools/polly/unittests/Isl/IslTests
[ 96%/1.042s :: 1->4->110 (of 114)] Linking CXX executable tools/polly/unittests/Flatten/FlattenTests
[ 97%/1.065s :: 1->3->111 (of 114)] Linking CXX executable tools/polly/unittests/Support/ISLToolsTests
[ 98%/1.133s :: 1->2->112 (of 114)] Linking CXX executable tools/polly/unittests/DeLICM/DeLICMTests
[ 99%/1.151s :: 1->1->113 (of 114)] Linking CXX executable tools/polly/unittests/ScheduleOptimizer/ScheduleOptimizerTests
[ 99%/1.151s :: 0->1->113 (of 114)] Running polly regression tests
llvm-lit: /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/llvm.src/polly/test/lit.cfg:74: note: Using Clang: /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/./bin/clang
-- Testing: 1117 tests, 8 workers --
Testing: 0.. 10.. 20.. 30..
FAIL: Polly :: Support/pipelineposition.ll (33 of 1117)
******************** TEST 'Polly :: Support/pipelineposition.ll' FAILED ********************
Exit Code: -11
Command Output (stdout):
--
# RUN: at line 1
/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt -polly-process-unprofitable -polly-remarks-minimal -polly-use-llvm-names -polly-import-jscop-dir=/srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support -polly-codegen-verify -O3 -polly -polly-position=early -disable-output -polly-print-scops < /srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support/pipelineposition.ll 2>&1 | /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/FileCheck /srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support/pipelineposition.ll --check-prefix=NOINLINE
# executed command: /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt -polly-process-unprofitable -polly-remarks-minimal -polly-use-llvm-names -polly-import-jscop-dir=/srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support -polly-codegen-verify -O3 -polly -polly-position=early -disable-output -polly-print-scops
# note: command had no output on stdout or stderr
# error: command failed with exit status: -11
# executed command: /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/FileCheck /srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support/pipelineposition.ll --check-prefix=NOINLINE
--
********************
Testing: 0.. 10.. 20.. 30.. 40..
FAIL: Polly :: Support/dumpmodule.ll (117 of 1117)
******************** TEST 'Polly :: Support/dumpmodule.ll' FAILED ********************
Exit Code: -11
Command Output (stdout):
--
# RUN: at line 1
/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt -polly-process-unprofitable -polly-remarks-minimal -polly-use-llvm-names -polly-import-jscop-dir=/srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support -polly-codegen-verify -O3 -polly -polly-position=early -polly-dump-before-file=/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/tools/polly/test/Support/Output/dumpmodule.ll.tmp-npm-before-early.ll --disable-output < /srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support/dumpmodule.ll && /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/FileCheck --input-file=/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/tools/polly/test/Support/Output/dumpmodule.ll.tmp-npm-before-early.ll --check-prefix=EARLY /srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support/dumpmodule.ll
# executed command: /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt -polly-process-unprofitable -polly-remarks-minimal -polly-use-llvm-names -polly-import-jscop-dir=/srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support -polly-codegen-verify -O3 -polly -polly-position=early -polly-dump-before-file=/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/tools/polly/test/Support/Output/dumpmodule.ll.tmp-npm-before-early.ll --disable-output
# .---command stderr------------
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt -polly-process-unprofitable -polly-remarks-minimal -polly-use-llvm-names -polly-import-jscop-dir=/srv/bbworker/polly-x86_64-gce1/llvm-project/polly/test/Support -polly-codegen-verify -O3 -polly -polly-position=early -polly-dump-before-file=/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/tools/polly/test/Support/Output/dumpmodule.ll.tmp-npm-before-early.ll --disable-output
# | 1. Running pass "function<eager-inv>(drop-unnecessary-assumes,float2int,lower-constant-intrinsics,chr,loop(loop-rotate<header-duplication;no-prepare-for-lto;check-exit-count>,loop-deletion,loop-interchange),loop-distribute,inject-tli-mappings,loop-vectorize<no-interleave-forced-only;no-vectorize-forced-only;>,drop-unnecessary-assumes,infer-alignment,loop-load-elim,instcombine<max-iterations=1;no-verify-fixpoint>,simplifycfg<bonus-inst-threshold=1;forward-switch-cond;switch-range-to-icmp;switch-to-arithmetic;switch-to-lookup;no-keep-loops;hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>,slp-vectorizer,vector-combine,instcombine<max-iterations=1;no-verify-fixpoint>,loop-unroll<O3>,transform-warning,sroa<preserve-cfg;aggregate-to-vector>,infer-alignment,instcombine<max-iterations=1;no-verify-fixpoint>,loop-mssa(licm<allowspeculation>),alignment-from-assumptions,loop-sink,instsimplify,div-rem-pairs,mergeicmps,expand-memcmp,tailcallelim,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;speculate-unpredictables>)" on module "<stdin>"
# | 2. Running pass "loop-vectorize<no-interleave-forced-only;no-vectorize-forced-only;>" on function "caller"
# | #0 0x0000616d538fe5d1 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt+0x1a665d1)
# | #1 0x0000616d538faabc llvm::sys::RunSignalHandlers() (/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt+0x1a62abc)
# | #2 0x0000616d538fac1c SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
# | #3 0x0000795f58c45330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x0000616d55a2287c llvm::VPlan::hasEarlyExit() const LoopVectorize.cpp:0:0
# | #5 0x0000616d55a68d42 llvm::LoopVectorizationPlanner::selectInterleaveCount(llvm::VPlan&, llvm::ElementCount, llvm::InstructionCost) (/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt+0x3bd0d42)
# | #6 0x0000616d55a7cc11 llvm::LoopVectorizePass::processLoop(llvm::Loop*) (/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux/build/llvm.build/bin/opt+0x3be4c11)
```
</details>
https://github.com/llvm/llvm-project/pull/207791
More information about the llvm-commits
mailing list