[PATCH] D153499: [RISCV] Add support for custom CSRs for Sifive S76.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 12 09:56:46 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVSystemOperands.td:312
//===----------------------------------------------------------------------===//
-let AltName = "mucounteren" in // Privileged spec v1.9.1 Name
+let DeprecatedName = "mucounteren" in // Privileged spec v1.9.1 Name
def : SysReg<"mcountinhibit", 0x320>;
----------------
Does this now print the warning "is a deprecated alias for"? Should we have a test for that?
================
Comment at: llvm/lib/Target/RISCV/RISCVSystemOperands.td:356
// drafts of the RISC-V debug spec
-let AltName = "dscratch" in
+let DeprecatedName = "dscratch" in
def : SysReg<"dscratch0", 0x7B2>;
----------------
Same here
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153499/new/
https://reviews.llvm.org/D153499
More information about the llvm-commits
mailing list