[llvm-branch-commits] [RISC-V][MC] Introduce initial support RVY (CHERI) (PR #176871)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jan 20 22:50:20 PST 2026


github-actions[bot] wrote:

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

* 129649 tests passed
* 2876 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.MC/RISCV/rvy/rvy-valid-mode-independent.s</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe --triple=riscv32 -mattr=+experimental-y --riscv-no-aliases --show-encoding --show-inst < C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\rvy\rvy-valid-mode-independent.s    | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK,CHECK-ASM,CHECK-ASM-32 -D"#XLEN=32" C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\rvy\rvy-valid-mode-independent.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe' --triple=riscv32 -mattr=+experimental-y --riscv-no-aliases --show-encoding --show-inst
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=CHECK,CHECK-ASM,CHECK-ASM-32 '-D#XLEN=32' 'C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\rvy\rvy-valid-mode-independent.s'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe --triple=riscv32 -mattr=+experimental-y,+cap-mode --riscv-no-aliases --show-encoding --show-inst < C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\rvy\rvy-valid-mode-independent.s    | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK,CHECK-ASM,CHECK-ASM-32 -D"#XLEN=32" C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\rvy\rvy-valid-mode-independent.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe' --triple=riscv32 -mattr=+experimental-y,+cap-mode --riscv-no-aliases --show-encoding --show-inst
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=CHECK,CHECK-ASM,CHECK-ASM-32 '-D#XLEN=32' 'C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\rvy\rvy-valid-mode-independent.s'
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe --filetype=obj --triple=riscv32 --mattr=+experimental-y < C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\rvy\rvy-valid-mode-independent.s    | c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe --mattr=+experimental-y -M no-aliases -d --no-print-imm-hex - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\rvy\rvy-valid-mode-independent.s -D"#XLEN=32"
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe' --filetype=obj --triple=riscv32 --mattr=+experimental-y
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe' --mattr=+experimental-y -M no-aliases -d --no-print-imm-hex -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\rvy\rvy-valid-mode-independent.s' '-D#XLEN=32'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\rvy\rvy-valid-mode-independent.s:204:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: srliy a0, a0, [[#XLEN]]
# |               ^
# | <stdin>:33:28: note: scanning from here
# |  68: 10250533 ytyper a0, a0
# |                            ^
# | <stdin>:33:28: note: with "XLEN" equal to "32"
# |  68: 10250533 ytyper a0, a0
# |                            ^
# | <stdin>:36:15: note: possible intended match here
# |  74: 0ca54533 syeq a0, a0, a0
# |               ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\rvy\rvy-valid-mode-independent.s
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            28:  54: 0ea52533 ysunseal a0, a0, a0 
# |            29:  58: 10550533 ybaser a0, a0 
# |            30:  5c: 10650533 ylenr a0, a0 
# |            31:  60: 10050533 ytagr a0, a0 
# |            32:  64: 10150533 ypermr a0, a0 
# |            33:  68: 10250533 ytyper a0, a0 
# | next:204'0                                X error: no match found
# | next:204'1                                  with "XLEN" equal to "32"
# |            34:  6c: 02055513 <unknown> 
# | next:204'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            35:  70: 02055513 <unknown> 
# | next:204'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            36:  74: 0ca54533 syeq a0, a0, a0 
# | next:204'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:204'2                   ?                possible intended match
# |            37:  78: 0ca56533 ylt a0, a0, a0 
# | next:204'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            38:  7c: 10750533 yamask a0, a0 
# | next:204'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# 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/176871


More information about the llvm-branch-commits mailing list