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

Jessica Clarke via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jan 20 09:40:55 PST 2026


================
@@ -0,0 +1,42 @@
+# RUN: not llvm-mc --triple riscv32 --mattr=+experimental-y <%s 2>&1 \
+# RUN:     | FileCheck %s --check-prefixes=CHECK,CHECK-32 '--implicit-check-not=error:'
+# RUN: not llvm-mc --triple riscv64 --mattr=+experimental-y <%s 2>&1 \
+# RUN:     | FileCheck %s --check-prefixes=CHECK,CHECK-64 '--implicit-check-not=error:'
+
+addy a0, a1, zero
+# CHECK: <stdin>:[[#@LINE-1]]:14: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]
----------------
jrtc27 wrote:

Drop the <stdin> on all these (see the other tests)

https://github.com/llvm/llvm-project/pull/176871


More information about the llvm-branch-commits mailing list