[clang] [llvm] [RISCV][MC] MC layer support for the experimental zalasr extension (PR #79911)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 12:05:15 PST 2024


================
@@ -0,0 +1,70 @@
+# RUN: llvm-mc %s -triple=riscv32 -mattr=+experimental-zalasr -riscv-no-aliases -show-encoding \
----------------
topperc wrote:

It's not very obvious from the test names, but I think the convention for the `-valid.s` tests is usually that the `rv32` test contains riscv32 and riscv64 RUN lines. and the `rv64` test only contains instructions that are unique to rv64. This reduces the amount of test content that is duplicated.

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


More information about the cfe-commits mailing list