[RISCV][NFC] Add missing immediate operand types.
authorDmitry Bushev <dmitry.bushev@syntacore.com>
Fri, 17 Feb 2023 12:03:40 +0000 (15:03 +0300)
committerAnton Sidorenko <anton.sidorenko@syntacore.com>
Fri, 17 Feb 2023 12:56:32 +0000 (15:56 +0300)
commit6f3a756998b3f8dde7d330878d3c0a78624bd87e
tree7a2675ec1535a3c097a17cfccf6500e0b0bc9332
parente133cb9c6daf5f6c9fb2c1bdb138e0a02b00fadb
[RISCV][NFC] Add missing immediate operand types.

Some immediate types in RISCV target description lack operand type field.
This leads them being listed as OPERAND_UNKNOWN in MCOperandInfo. This patch adds this fields.
This is NFC because it does not affect flow of any current tools implementation.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D144105
llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/lib/Target/RISCV/RISCVInstrInfoC.td