[llvm] [SPIRV] Support non-constant indices for vector insert/extract (PR #172514)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 5 08:00:09 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 129051 tests passed
* 2841 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/SPIRV/legalization/spv-extractelt-legalization.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -O0 -mtriple=spirv-unknown-vulkan-compute C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\legalization\spv-extractelt-legalization.ll -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\legalization\spv-extractelt-legalization.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O0 -mtriple=spirv-unknown-vulkan-compute 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\legalization\spv-extractelt-legalization.ll' -o -
# .---command stderr------------
# | LLVM ERROR: instruction is not legal: %31:iid(s64) = G_FRAME_INDEX %stack.0 (in function: main)
# | 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\\llc.exe -O0 -mtriple=spirv-unknown-vulkan-compute C:\\_work\\llvm-project\\llvm-project\\llvm\\test\\CodeGen\\SPIRV\\legalization\\spv-extractelt-legalization.ll -o -
# | 1. Running pass 'Function Pass Manager' on module 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\legalization\spv-extractelt-legalization.ll'.
# | 2. Running pass 'InstructionSelect' on function '@main'
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\legalization\spv-extractelt-legalization.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\CodeGen\SPIRV\legalization\spv-extractelt-legalization.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/172514
More information about the llvm-commits
mailing list