[llvm] [RISC-V][RVY] Initial ISAInfo support for RVY (PR #201931)

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 3 14:18:09 PDT 2026


================
@@ -0,0 +1,35 @@
+# RUN: llvm-mc %s -triple=riscv64 -filetype=asm -riscv-add-build-attributes \
+# RUN:   -mattr=+experimental-y,+c,+d | FileCheck %s --check-prefixes=RV64Y-CD
----------------
jrtc27 wrote:

I might suggest:
(a) canonicalising the order of extensions in -mattr and  --check-prefixes
(b) removing the - when a _ wouldn't be present in such an arch string
(c) using --check-prefix since there's only the one for each AFAICT

(a) and (b) are more subjective preference, (c) is more of a strong style recommendation IIRC

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


More information about the llvm-commits mailing list