projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b193bd3
)
[RISCV] Remove unused def simm12_plus1 from RISCVInstrInfo.td. NFC
author
LiaoChunyu
<chunyu@iscas.ac.cn>
Fri, 5 May 2023 04:53:43 +0000
(12:53 +0800)
committer
LiaoChunyu
<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
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/RISCV/RISCVInstrInfo.td
b/llvm/lib/Target/RISCV/RISCVInstrInfo.td
index
59041fa
..
9e971f6
100644
(file)
--- 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;