[llvm] [VectorCombine] Support simplification to scalar store for multiple insertelt (PR #132820)

via llvm-commits llvm-commits at lists.llvm.org
Fri May 29 22:25:51 PDT 2026


github-actions[bot] wrote:

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

* 135272 tests passed
* 3341 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.Transforms/VectorCombine/load-insert-store.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes=vector-combine -data-layout=e < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\VectorCombine\load-insert-store.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\VectorCombine\load-insert-store.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S -passes=vector-combine -data-layout=e
# .---command stderr------------
# | Assertion failed: !ToFreeze && "freeze() not called with ToFreeze being set", file C:\_work\llvm-project\llvm-project\llvm\lib\Transforms\Vectorize\VectorCombine.cpp, line 1842
# | 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: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\opt.exe -S -passes=vector-combine -data-layout=e
# | 1.	Running pass "function(vector-combine)" on module "<stdin>"
# | 2.	Running pass "vector-combine" on function "insert_store_nonconst_index_known_valid_by_and_but_may_be_poison"
# | Exception Code: 0xC000001D
# |  #0 0x00007ff6a087d946 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x97d946)
# |  #1 0x00007ffc868dbb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ffc868dcad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ffc868de4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ffc868de6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff6a2ad70a5 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x2bd70a5)
# |  #6 0x00007ff6a2ad0b22 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x2bd0b22)
# |  #7 0x00007ff6a0dd307d (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xed307d)
# |  #8 0x00007ff6a0dd6634 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xed6634)
# |  #9 0x00007ff6a0dd1fed (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xed1fed)
# | #10 0x00007ff6a023587e (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x33587e)
# | #11 0x00007ff69ff06f1f (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6f1f)
# | #12 0x00007ff69ff01025 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x1025)
# | #13 0x00007ff6a4b3fe60 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x4c3fe60)
# | #14 0x00007ffc895e4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #15 0x00007ffc97d9edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\VectorCombine\load-insert-store.ll'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\VectorCombine\load-insert-store.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</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/132820


More information about the llvm-commits mailing list