[PATCH] D146946: [RISCV][MC] Add support for experimental zicond extension

Alex Bradbury via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 27 04:32:33 PDT 2023


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

This patch adds the basic MC layer support for Zicond, based on 1.0-rc1 <https://github.com/riscv/riscv-zicond/releases/tag/v1.0-rc1>. As with other extensions, if there are additional changes between release candidates without incrementing the version number we won't be able to reflect that in the version number. I believe we've previously decided this is not a problem for extensions still considered experimental (i.e. not yet ratified).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146946

Files:
  clang/test/Preprocessor/riscv-target-features.c
  llvm/docs/RISCVUsage.rst
  llvm/docs/ReleaseNotes.rst
  llvm/lib/Support/RISCVISAInfo.cpp
  llvm/lib/Target/RISCV/RISCVFeatures.td
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/lib/Target/RISCV/RISCVInstrInfoZicond.td
  llvm/test/CodeGen/RISCV/attributes.ll
  llvm/test/MC/RISCV/attribute-arch.s
  llvm/test/MC/RISCV/rv32zicond-invalid.s
  llvm/test/MC/RISCV/rv32zicond-valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146946.508572.patch
Type: text/x-patch
Size: 10415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230327/1a469ae0/attachment-0001.bin>


More information about the cfe-commits mailing list