[RISCV] Add CLB/CLH/SLB/SLH formats for Zcb instructions.
authorCraig Topper <craig.topper@sifive.com>
Wed, 15 Feb 2023 20:53:17 +0000 (12:53 -0800)
committerCraig Topper <craig.topper@sifive.com>
Wed, 15 Feb 2023 21:03:31 +0000 (13:03 -0800)
commit08ecef8e338f4ccb18bda3f3124a0d92f2512cb2
tree8b3e502a82a463c623f195326def5cf0832b545d
parent792a724f894ae08ae6b85e20904f556fd16f6e61
[RISCV] Add CLB/CLH/SLB/SLH formats for Zcb instructions.

This matches how they are described in the spec.

Rework the tablegen classes to make this format consistent with
other formats.

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D144038
llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
llvm/lib/Target/RISCV/RISCVInstrFormats.td
llvm/lib/Target/RISCV/RISCVInstrFormatsC.td
llvm/lib/Target/RISCV/RISCVInstrInfoZc.td