[clang] [llvm] [RISCV] Add support for vector registers with -fzero-call-used-regs (PR #206206)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 20 13:51:10 PDT 2026


github-actions[bot] wrote:

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

* 138714 tests passed
* 3558 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/RISCV/zero-call-used-regs-v.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\zero-call-used-regs-v.ll -verify-machineinstrs -mtriple=riscv64 -mattr=+v | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\zero-call-used-regs-v.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -verify-machineinstrs -mtriple=riscv64 -mattr=+v
# .---command stderr------------
# | Assertion failed: !NodePtr->isKnownSentinel(), file C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/ilist_iterator.h, line 168
# | 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 -verify-machineinstrs -mtriple=riscv64 -mattr=+v
# | 1.	Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@used'
# | Exception Code: 0xC000001D
# |  #0 0x00007ff6d12ead46 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x2dbad46)
# |  #1 0x00007ffa1d39bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ffa1d39cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ffa1d39e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ffa1d39e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff6cea22d4f (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4f2d4f)
# |  #6 0x00007ff6d224eb88 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x3d1eb88)
# |  #7 0x00007ff6cf9f34ad (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x14c34ad)
# |  #8 0x00007ff6cf9f53b7 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x14c53b7)
# |  #9 0x00007ff6cf0311a9 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0xb011a9)
# | #10 0x00007ff6cea536e0 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x5236e0)
# | #11 0x00007ff6cea5bf5d (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x52bf5d)
# | #12 0x00007ff6cea54770 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x524770)
# | #13 0x00007ff6ce53526e (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x526e)
# | #14 0x00007ff6d2f51a40 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4a21a40)
# | #15 0x00007ffa26e64cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #16 0x00007ffa3179edcb (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\CodeGen\RISCV\zero-call-used-regs-v.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\RISCV\zero-call-used-regs-v.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/206206


More information about the cfe-commits mailing list