[clang] [llvm] [RISCV][MC] Add experimental Smcsps and Sscsps support (PR #211712)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 24 07:17:39 PDT 2026


github-actions[bot] wrote:

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

* 138953 tests passed
* 3582 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.MC/RISCV/xsfmclic-valid.s</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\xsfmclic-valid.s -triple=riscv32 -mattr=+experimental-xsfmclic -riscv-no-aliases -show-encoding      | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=CHECK-INST,CHECK-ENC C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\xsfmclic-valid.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\xsfmclic-valid.s' -triple=riscv32 -mattr=+experimental-xsfmclic -riscv-no-aliases -show-encoding
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=CHECK-INST,CHECK-ENC 'C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\xsfmclic-valid.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\xsfmclic-valid.s:41:15: error: CHECK-INST: expected string not found in input
# | # CHECK-INST: csrrs t1, sf.mscratchcswl, zero
# |               ^
# | <stdin>:12:66: note: scanning from here
# |  csrrs t2, sf.mscratchcsw, zero # encoding: [0xf3,0x23,0x80,0x34]
# |                                                                  ^
# | <stdin>:14:2: note: possible intended match here
# |  csrrs t1, mspcs, zero # encoding: [0x73,0x23,0x90,0x34]
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\MC\RISCV\xsfmclic-valid.s
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |             7:  
# |             8:  csrrs t1, sf.mintstatus, zero # encoding: [0x73,0x23,0x60,0x34] 
# |             9:  csrrs t2, sf.mintstatus, zero # encoding: [0xf3,0x23,0x60,0x34] 
# |            10:  
# |            11:  csrrs t1, sf.mscratchcsw, zero # encoding: [0x73,0x23,0x80,0x34] 
# |            12:  csrrs t2, sf.mscratchcsw, zero # encoding: [0xf3,0x23,0x80,0x34] 
# | check:41'0                                                                     {   search range start (exclusive)
# | check:41'1                                                                         error: no match found in search range
# |            13:  
# |            14:  csrrs t1, mspcs, zero # encoding: [0x73,0x23,0x90,0x34] 
# | check:41'2      ?                                                         possible intended match
# |            15:  csrrs t2, mspcs, zero # encoding: [0xf3,0x23,0x90,0x34] 
# | check:41'3                                                              } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/211712


More information about the cfe-commits mailing list