[RISCV] simm12_plus1 should not inherit from Operand. NFC
authorCraig Topper <craig.topper@sifive.com>
Wed, 31 Mar 2021 02:00:28 +0000 (19:00 -0700)
committerCraig Topper <craig.topper@sifive.com>
Wed, 31 Mar 2021 02:02:11 +0000 (19:02 -0700)
commit5db19cc01017ed67ec443dd7b0e7b54d991a67da
tree90991d737b0bf7bd1592157981f795f7005739c6
parent0d7fd9f0d09812c6344a7df6498ce504c8d646d1
[RISCV] simm12_plus1 should not inherit from Operand. NFC

We only use this in Pat patterns, so it just needs to be an
ImmLeaf. If we did need it as an instruction operand, the
ParserMatchClass, EncoderMethod, and DecoderMethod were probably wrong.
llvm/lib/Target/RISCV/RISCVInstrInfo.td