[llvm-branch-commits] [clang] [Clang][RISCV] Allow riscv_rvv_vector_bits typedefs shorter than VLEN*LMUL (PR #237846)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Nov 1 22:50:39 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 58637 tests passed
* 560 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Sema/attr-riscv-rvv-vector-bits-relaxed.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple riscv64-none-linux-gnu -target-feature +f -target-feature +d -target-feature +zve64d -target-feature +zvl128b -ffreestanding -fsyntax-only -verify C:\_work\llvm-project\llvm-project\clang\test\Sema\attr-riscv-rvv-vector-bits-relaxed.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple riscv64-none-linux-gnu -target-feature +f -target-feature +d -target-feature +zve64d -target-feature +zvl128b -ffreestanding -fsyntax-only -verify 'C:\_work\llvm-project\llvm-project\clang\test\Sema\attr-riscv-rvv-vector-bits-relaxed.c'
# .---command stderr------------
# | error: 'expected-error' diagnostics expected but not seen:
# | File C:\_work\llvm-project\llvm-project\clang\test\Sema\attr-riscv-rvv-vector-bits-relaxed.c Line 48 (directive at C:\_work\llvm-project\llvm-project\clang\test\Sema\attr-riscv-rvv-vector-bits-relaxed.c:49): invalid RVV vector size '2', expected size is '4' based on LMUL of type and '-mrvv-vector-bits'
# | error: 'expected-error' diagnostics seen but not expected:
# | File C:\_work\llvm-project\llvm-project\clang\test\Sema\attr-riscv-rvv-vector-bits-relaxed.c Line 47: 'riscv_rvv_vector_bits' is only supported when '-mrvv-vector-bits=<bits>' is specified with a value of "zvl" or a power 2 in the range [64,65536]
# | File C:\_work\llvm-project\llvm-project\clang\test\Sema\attr-riscv-rvv-vector-bits-relaxed.c Line 48: 'riscv_rvv_vector_bits' is only supported when '-mrvv-vector-bits=<bits>' is specified with a value of "zvl" or a power 2 in the range [64,65536]
# | 3 errors generated.
# `-----------------------------
# 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/237846
More information about the llvm-branch-commits
mailing list