[llvm] [RISCV][CHERIoT] Define ABI_CHERIOT. (PR #192929)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 01:21:59 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 174925 tests passed
* 3409 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.MC/RISCV/target-abi-invalid.s</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -target-abi foo < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I-FOO /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -target-abi foo
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I-FOO /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+f -target-abi ilp32foof < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32IF-ILP32FOOF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+f -target-abi ilp32foof
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32IF-ILP32FOOF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -target-abi ilp32 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64I-ILP32 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -target-abi ilp32
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64I-ILP32 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 11
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -mattr=+f -target-abi ilp32f < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64IF-ILP32F /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -mattr=+f -target-abi ilp32f
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64IF-ILP32F /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 13
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -mattr=+d -target-abi ilp32d < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64IFD-ILP32D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -mattr=+d -target-abi ilp32d
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64IFD-ILP32D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 15
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -target-abi ilp32e < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64I-ILP32E /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -target-abi ilp32e
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64I-ILP32E /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 23
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -target-abi lp64 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I-LP64 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -target-abi lp64
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I-LP64 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 25
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+f -target-abi lp64f < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32IF-LP64F /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+f -target-abi lp64f
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32IF-LP64F /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 27
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+d -target-abi lp64d < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32IFD-LP64D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+d -target-abi lp64d
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32IFD-LP64D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 29
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+e -target-abi lp64 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32E-LP64 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+e -target-abi lp64
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32E-LP64 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 31
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+e,+f -target-abi lp64f < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32EF-LP64F /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+e,+f -target-abi lp64f
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32EF-LP64F /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 33
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+e,+d -target-abi lp64f < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32EFD-LP64D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+e,+d -target-abi lp64f
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32EFD-LP64D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 35
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+e -target-abi lp64e /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32E-LP64E /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+e -target-abi lp64e /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32E-LP64E /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 47
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -target-abi ilp32f < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I-ILP32F /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -target-abi ilp32f
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I-ILP32F /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 49
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -target-abi lp64f < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64I-LP64F /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -target-abi lp64f
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64I-LP64F /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 55
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -target-abi ilp32d < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I-ILP32D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -target-abi ilp32d
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I-ILP32D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 57
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+f -target-abi ilp32d < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32IF-ILP32D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+f -target-abi ilp32d
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32IF-ILP32D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 59
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -target-abi lp64d < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64I-LP64D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -target-abi lp64d
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64I-LP64D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 61
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -mattr=+f -target-abi lp64d < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64IF-LP64D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -mattr=+f -target-abi lp64d
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64IF-LP64D /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# note: command had no output on stdout or stderr
# RUN: at line 69
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+e -target-abi ilp32 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32EF-ILP32F /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -mattr=+e -target-abi ilp32
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32EF-ILP32F /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s:79:18: error: RV32EF-ILP32F: expected string not found in input
# | # RV32EF-ILP32F: Only the ilp32e ABI is supported for RV32E (ignoring target-abi)
# |                  ^
# | <stdin>:1:1: note: scanning from here
# | Only the ilp32e and cheriot ABIs are supported for RV32E (ignoring target-abi)
# | ^
# | <stdin>:1:17: note: possible intended match here
# | Only the ilp32e and cheriot ABIs are supported for RV32E (ignoring target-abi)
# |                 ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/target-abi-invalid.s
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: Only the ilp32e and cheriot ABIs are supported for RV32E (ignoring target-abi) 
# | check:79'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:79'1                     ?                                                               possible intended match
# |             2:  
# | check:79'0     ~
# |             3:  
# | check:79'0     ~
# |             4:  
# | check:79'0     ~
# |             5:  
# | check:79'0     ~
# |             6:  
# | check:79'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/192929


More information about the llvm-commits mailing list