diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.td b/llvm/lib/Target/RISCV/RISCVInstrInfo.td --- a/llvm/lib/Target/RISCV/RISCVInstrInfo.td +++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.td @@ -409,10 +409,6 @@ // Standalone (codegen-only) immleaf patterns. -// A 12-bit signed immediate plus one where the imm range will be [-2047, 2048]. -def simm12_plus1 : ImmLeaf(Imm) && Imm != -2048) || Imm == 2048;}]>; - // A 6-bit constant greater than 32. def uimm6gt32 : ImmLeaf(Imm) && Imm > 32;