[PATCH] D149925: [RISCV] Remove unused def simm12_plus1 from RISCVInstrInfo.td. NFC

Liao Chunyu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 4 21:54:09 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8cf768839a8d: [RISCV] Remove unused def simm12_plus1 from RISCVInstrInfo.td. NFC (authored by liaolucy).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149925/new/

https://reviews.llvm.org/D149925

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfo.td


Index: llvm/lib/Target/RISCV/RISCVInstrInfo.td
===================================================================
--- llvm/lib/Target/RISCV/RISCVInstrInfo.td
+++ 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<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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149925.519739.patch
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230505/161ca891/attachment.bin>


More information about the llvm-commits mailing list