[llvm] [LV] Transform tests for early-exit with stores (PR #183288)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 04:09:15 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 170536 tests passed
* 3093 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.Transforms/LoopVectorize/early_exit_store_legality.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/early_exit_store_legality.ll -p loop-vectorize -debug-only=loop-vectorize -force-vector-width=4 -disable-output 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/early_exit_store_legality.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -p loop-vectorize -debug-only=loop-vectorize -force-vector-width=4 -disable-output
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/early_exit_store_legality.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/early_exit_store_legality.ll:722:10: error: CHECK: expected string not found in input
# | ; CHECK: LV: Not vectorizing: Last early exiting block in the chain is not the latch predecessor.
# |          ^
# | <stdin>:244:76: note: scanning from here
# | LV: Checking a loop in 'uncountable_exit_with_invariant_but_unknown_stride' from <stdin>
# |                                                                            ^
# | <stdin>:249:1: note: possible intended match here
# | LV: Not vectorizing: Cannot determine exact exit count for latch block.
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/early_exit_store_legality.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            239: LV: Not vectorizing: Writes to memory unsupported in early exit loops. 
# |            240: LV: Interleaving disabled by the pass manager 
# |            241: remark: <unknown>:0:0: loop not vectorized: Cannot vectorize early exit loop with writes to memory 
# |            242: LV: Not vectorizing: Cannot prove legality. 
# |            243:  
# |            244: LV: Checking a loop in 'uncountable_exit_with_invariant_but_unknown_stride' from <stdin> 
# | check:722'0                                                                                X~~~~~~~~~~~~~ error: no match found
# |            245: LV: Loop hints: force=? width=4 interleave=0 
# | check:722'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            246: LV: Found a loop: for.body 
# | check:722'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            247: LV: Found an induction variable. 
# | check:722'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            248: LV: Did not find one integer induction var. 
# | check:722'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            249: LV: Not vectorizing: Cannot determine exact exit count for latch block. 
# | check:722'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:722'1     ?                                                                        possible intended match
# |            250: LV: Interleaving disabled by the pass manager 
# | check:722'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            251: remark: <unknown>:0:0: loop not vectorized: Cannot vectorize early exit loop 
# | check:722'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            252: LV: Not vectorizing: Cannot prove legality. 
# | check:722'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            253:  
# | check:722'0     ~
# |            254: LV: Checking a loop in 'novec_uncountable_exit_condition_address_is_invariant' from <stdin> 
# | check:722'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the llvm-commits mailing list