[all-commits] [llvm/llvm-project] 3b2f4f: [RISCV] Fix Enum for Custom Vendor CSR encodings (...
Sudharsan Veeravalli via All-commits
all-commits at lists.llvm.org
Thu Jan 30 22:23:24 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3b2f4f4ab2d7a2008a3b0dcc46526429f7e29101
https://github.com/llvm/llvm-project/commit/3b2f4f4ab2d7a2008a3b0dcc46526429f7e29101
Author: Sudharsan Veeravalli <quic_svs at quicinc.com>
Date: 2025-01-31 (Fri, 31 Jan 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSystemOperands.td
Log Message:
-----------
[RISCV] Fix Enum for Custom Vendor CSR encodings (#125172)
The enum added in 1401703fe42003745e6937efa13078b462a9d706 does not work
for custom vendor CSRs due to the presence of a "." in the
`<vendor>.<csr>` naming scheme required by the toolchain convention.
Fix this by adding a new EnumName to the SysReg class which replaces the
"." with and "_" before passing it to tablegen.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list