aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorSudharsan Veeravalli <quic_svs@quicinc.com>2025-01-31 11:53:02 +0530
committerGitHub <noreply@github.com>2025-01-31 11:53:02 +0530
commit3b2f4f4ab2d7a2008a3b0dcc46526429f7e29101 (patch)
tree2431a41b27ade402dfeda2849fa21c0fb057b321 /clang/lib/CodeGen/CodeGenFunction.cpp
parenta5a2e2fc62824287aca02e80ce237c695ea89000 (diff)
downloadllvm-3b2f4f4ab2d7a2008a3b0dcc46526429f7e29101.zip
llvm-3b2f4f4ab2d7a2008a3b0dcc46526429f7e29101.tar.gz
llvm-3b2f4f4ab2d7a2008a3b0dcc46526429f7e29101.tar.bz2
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions