[RISCV] Remove some unused ImmLeafs. NFC
authorCraig Topper <craig.topper@sifive.com>
Wed, 31 Mar 2021 01:54:07 +0000 (18:54 -0700)
committerCraig Topper <craig.topper@sifive.com>
Wed, 31 Mar 2021 01:54:11 +0000 (18:54 -0700)
These got left behind when we switched RV32 to use selectImm to
match RV64.

llvm/lib/Target/RISCV/RISCVInstrInfo.td

index ba48346..4e754bd 100644 (file)
@@ -295,8 +295,6 @@ def ixlenimm_li : Operand<XLenVT> {
 }
 
 // Standalone (codegen-only) immleaf patterns.
-def simm32     : ImmLeaf<XLenVT, [{return isInt<32>(Imm);}]>;
-def simm32hi20 : ImmLeaf<XLenVT, [{return isShiftedInt<20, 12>(Imm);}]>;
 
 // A 6-bit constant greater than 32.
 def uimm6gt32 : ImmLeaf<XLenVT, [{