[RISCV][MC] Add support for the experimental zicond extension
authorAlex Bradbury <asb@igalia.com>
Wed, 29 Mar 2023 11:13:53 +0000 (12:13 +0100)
committerAlex Bradbury <asb@igalia.com>
Wed, 29 Mar 2023 11:17:50 +0000 (12:17 +0100)
commitd3291c692c0a83b8b60e13ad1326e2b7d61e5f34
treeffaa192205c1cc0101d687e5a5dff56586d009e6
parent81358e9193a9282372c145b63042b2852d3afa18
[RISCV][MC] Add support for the experimental zicond extension

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).

Differential Revision: https://reviews.llvm.org/D146946
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 [new file with mode: 0644]
llvm/test/CodeGen/RISCV/attributes.ll
llvm/test/MC/RISCV/attribute-arch.s
llvm/test/MC/RISCV/rv32zicond-invalid.s [new file with mode: 0644]
llvm/test/MC/RISCV/rv32zicond-valid.s [new file with mode: 0644]