[RISCV] Remove unused def simm12_plus1 from RISCVInstrInfo.td. NFC
authorLiaoChunyu <chunyu@iscas.ac.cn>
Fri, 5 May 2023 04:53:43 +0000 (12:53 +0800)
committerLiaoChunyu <chunyu@iscas.ac.cn>
Fri, 5 May 2023 04:53:58 +0000 (12:53 +0800)
Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D149925

llvm/lib/Target/RISCV/RISCVInstrInfo.td

index 59041fa..9e971f6 100644 (file)
@@ -409,10 +409,6 @@ def ixlenimm_li : Operand<XLenVT> {
 
 // Standalone (codegen-only) immleaf patterns.
 
-// A 12-bit signed immediate plus one where the imm range will be [-2047, 2048].
-def simm12_plus1 : ImmLeaf<XLenVT,
-  [{return (isInt<12>(Imm) && Imm != -2048) || Imm == 2048;}]>;
-
 // A 6-bit constant greater than 32.
 def uimm6gt32 : ImmLeaf<XLenVT, [{
   return isUInt<6>(Imm) && Imm > 32;