[clang] [llvm] [RISC-V][MC] Introduce initial support for RVY (CHERI) (PR #199771)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Tue May 26 18:51:40 PDT 2026
================
@@ -888,6 +890,12 @@ struct NDSVLNPseudo {
#define GET_RISCVVSXTable_DECL
#define GET_RISCVNDSVLNTable_DECL
#include "RISCVGenSearchableTables.inc"
+
+inline bool isValidYBNDSWImm(int64_t Imm) {
+ return (Imm >= 1 && Imm <= 255) ||
+ (Imm >= 256 && Imm <= 508 && (Imm % 8) == 0) ||
----------------
arichardson wrote:
Thanks I repeated that typo twice! Will fix
https://github.com/llvm/llvm-project/pull/199771
More information about the llvm-commits
mailing list