[llvm] [SPIR-V] Legalize vector arithmetic and intrinsics for large vectors (PR #170668)

via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 10 13:21:23 PST 2025


github-actions[bot] wrote:

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

* 128523 tests passed
* 2805 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/SPIRV/legalization/vector-arithmetic-6.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -O0 -verify-machineinstrs -mtriple=spirv-unknown-vulkan C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\legalization\vector-arithmetic-6.ll -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\legalization\vector-arithmetic-6.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O0 -verify-machineinstrs -mtriple=spirv-unknown-vulkan 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\legalization\vector-arithmetic-6.ll' -o -
# .---command stderr------------
# | LLVM ERROR: unable to legalize instruction: %70:vid(<6 x s32>) = G_UREM %69:vid, %68:vid (in function: test_int_vector_arithmetic)
# | 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 -verify-machineinstrs -mtriple=spirv-unknown-vulkan C:\\_work\\llvm-project\\llvm-project\\llvm\\test\\CodeGen\\SPIRV\\legalization\\vector-arithmetic-6.ll -o -
# | 1.	Running pass 'Function Pass Manager' on module 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\legalization\vector-arithmetic-6.ll'.
# | 2.	Running pass 'Legalizer' on function '@test_int_vector_arithmetic'
# `-----------------------------
# 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\vector-arithmetic-6.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\vector-arithmetic-6.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/170668


More information about the llvm-commits mailing list