[llvm] 8cf7688 - [RISCV] Remove unused def simm12_plus1 from RISCVInstrInfo.td. NFC
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 4 21:54:05 PDT 2023
Author: LiaoChunyu
Date: 2023-05-05T12:53:58+08:00
New Revision: 8cf768839a8db8531a2d60ede9497fe82fea7a5a
URL: https://github.com/llvm/llvm-project/commit/8cf768839a8db8531a2d60ede9497fe82fea7a5a
DIFF: https://github.com/llvm/llvm-project/commit/8cf768839a8db8531a2d60ede9497fe82fea7a5a.diff
LOG: [RISCV] Remove unused def simm12_plus1 from RISCVInstrInfo.td. NFC
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D149925
Added:
Modified:
llvm/lib/Target/RISCV/RISCVInstrInfo.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.td b/llvm/lib/Target/RISCV/RISCVInstrInfo.td
index 59041fab1fef..9e971f698872 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfo.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.td
@@ -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;
More information about the llvm-commits
mailing list