[llvm] [LV] Support conditional scalar assignments of masked operations (PR #178862)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 30 03:17:30 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 130312 tests passed
* 2894 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\X86\vectorization-remarks-missed.ll -passes=loop-vectorize,transform-warning -S -pass-remarks-missed='loop-vectorize' -pass-remarks-analysis='loop-vectorize' -vectorize-memory-check-threshold=1 -mtriple=x86_64-apple-macosx 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\X86\vectorization-remarks-missed.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=loop-vectorize,transform-warning -S -pass-remarks-missed=loop-vectorize -pass-remarks-analysis=loop-vectorize -vectorize-memory-check-threshold=1 -mtriple=x86_64-apple-macosx
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\X86\vectorization-remarks-missed.ll'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\X86\vectorization-remarks-missed.ll -passes=loop-vectorize,transform-warning -o /dev/null -pass-remarks-output=C:\_work\llvm-project\llvm-project\build\test\Transforms\LoopVectorize\X86\Output\vectorization-remarks-missed.ll.tmp.yaml -vectorize-memory-check-threshold=1 -mtriple=x86_64-apple-macosx
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=loop-vectorize,transform-warning -o /dev/null '-pass-remarks-output=C:\_work\llvm-project\llvm-project\build\test\Transforms\LoopVectorize\X86\Output\vectorization-remarks-missed.ll.tmp.yaml' -vectorize-memory-check-threshold=1 -mtriple=x86_64-apple-macosx
# .---command stderr------------
# | remark: source.cpp:19:5: loop not vectorized: cannot identify array bounds
# | warning: source.cpp:18:8: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
# `-----------------------------
# RUN: at line 3
cat C:\_work\llvm-project\llvm-project\build\test\Transforms\LoopVectorize\X86\Output\vectorization-remarks-missed.ll.tmp.yaml | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=YAML C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\X86\vectorization-remarks-missed.ll
# executed command: cat 'C:\_work\llvm-project\llvm-project\build\test\Transforms\LoopVectorize\X86\Output\vectorization-remarks-missed.ll.tmp.yaml'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=YAML 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\X86\vectorization-remarks-missed.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\X86\vectorization-remarks-missed.ll:122:14: error: YAML-NEXT: expected string not found in input
# | ; YAML-NEXT: Name: NonReductionValueUsedOutsideLoop
# |              ^
# | <stdin>:73:21: note: scanning from here
# | Pass: loop-vectorize
# |                     ^
# | <stdin>:83:1: note: possible intended match here
# | Name: NoInductionVariable
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\X86\vectorization-remarks-missed.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            68: Args: 
# |            69:  - String: 'loop not vectorized: ' 
# |            70:  - String: value that could not be identified as reduction is used outside the loop 
# |            71: ... 
# |            72: --- !Analysis 
# |            73: Pass: loop-vectorize 
# | next:122'0                         X error: no match found
# |            74: Name: CantVectorizeLibcall 
# | next:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            75: DebugLoc: { File: source.cpp, Line: 29, Column: 11 } 
# | next:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            76: Function: test_multiple_failures 
# | next:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            77: Args: 
# | next:122'0     ~~~~~~
# |            78:  - String: 'loop not vectorized: ' 
# | next:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            79:  - String: call instruction cannot be vectorized 
# | next:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            80: ... 
# | next:122'0     ~~~~
# |            81: --- !Analysis 
# | next:122'0     ~~~~~~~~~~~~~~
# |            82: Pass: loop-vectorize 
# | next:122'0     ~~~~~~~~~~~~~~~~~~~~~
# |            83: Name: NoInductionVariable 
# | next:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:122'1     ?                          possible intended match
# |            84: DebugLoc: { File: source.cpp, Line: 27, Column: 3 } 
# | next:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            85: Function: test_multiple_failures 
# | next:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            86: Args: 
# | next:122'0     ~~~~~~
# |            87:  - String: 'loop not vectorized: ' 
# | next:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            88:  - String: loop induction variable could not be identified 
# | next:122'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/178862


More information about the llvm-commits mailing list