aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2021-05-05 09:14:51 -0700
committerSaleem Abdulrasool <compnerd@compnerd.org>2021-05-21 13:52:58 -0700
commit6c6b3e3afe7cbf43d6ab2aa780367e6942f1b6b4 (patch)
tree84489fbad53e02505186d29cf1add15881eec7ce /llvm/lib/IR/Module.cpp
parentaa6e7e8da8f5a2706f0b330718df203b3650408e (diff)
downloadllvm-6c6b3e3afe7cbf43d6ab2aa780367e6942f1b6b4.zip
llvm-6c6b3e3afe7cbf43d6ab2aa780367e6942f1b6b4.tar.gz
llvm-6c6b3e3afe7cbf43d6ab2aa780367e6942f1b6b4.tar.bz2
RISCV: add a few deprecated aliases for CSRs
This adds the {s,u,m}badaddr CSR aliases as well as the sptbr alias. These are for compatibility with binutils. Furthermore, these are used by the RISC-V Proxy Kernel and are required to enable building the Proxy Kernel with the LLVM IAS. The aliases here are deprecated. These are being introduced in order to provide a compatibility story for the existing GNU toolchain, which still supports the deprecated spelling in the assembler. However, in order to encourage the migration of existing coding, we provide warnings indicating that the aliased CSRs are deprecated and should be replaced. Differential Revision: https://reviews.llvm.org/D101919 Reviewed By: Craig Topper
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions