[PATCH] D149278: [RISCV] Deprecate CSR names that are not in Privileged Specification 1.12.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 26 11:38:17 PDT 2023


craig.topper created this revision.
craig.topper added reviewers: asb, reames, jrtc27, kito-cheng, philipp.tomsich, tangxingxin1008.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

These are from the N extension (User-Level Interrupts) which did
not make it into 1.12 of the Privileged Specification.

D117653 <https://reviews.llvm.org/D117653> also tried to remove some of these, but it was never reviewed.

The version here gives a warning instead of completely removing.
This implementation is based on what has been in our downstream for
a while.

I'm fine with completely removing if that's preferable. Posting this
patch to start discussion.

Co-authored-by: Nelson Chu


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149278

Files:
  llvm/docs/ReleaseNotes.rst
  llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
  llvm/lib/Target/RISCV/RISCVSystemOperands.td
  llvm/test/MC/RISCV/deprecated-csr-names.s
  llvm/test/MC/RISCV/supervisor-csr-names.s
  llvm/test/MC/RISCV/user-csr-names.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149278.517254.patch
Type: text/x-patch
Size: 12341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230426/9f465180/attachment.bin>


More information about the llvm-commits mailing list