Skip to content

Commit 1547b81

Browse files
committed
[RISCV][NFC] Remove unused code in RISCV/RISCVInstrInfoZvk.td
Differential Revision: https://reviews.llvm.org/D156984
1 parent 05041b7 commit 1547b81

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -15,48 +15,6 @@
1515
// Operand and SDNode transformation definitions.
1616
//===----------------------------------------------------------------------===//
1717

18-
def RnumArg_0_7 : AsmOperandClass {
19-
let Name = "RnumArg_0_7";
20-
let RenderMethod = "addImmOperands";
21-
let DiagnosticType = "InvalidRnumArg_0_7";
22-
}
23-
24-
def RnumArg_1_10 : AsmOperandClass {
25-
let Name = "RnumArg_1_10";
26-
let RenderMethod = "addImmOperands";
27-
let DiagnosticType = "InvalidRnumArg_1_10";
28-
}
29-
30-
def RnumArg_2_14 : AsmOperandClass {
31-
let Name = "RnumArg_2_14";
32-
let RenderMethod = "addImmOperands";
33-
let DiagnosticType = "InvalidRnumArg_2_14";
34-
}
35-
36-
def rnum_0_7 : Operand<XLenVT>, ImmLeaf<XLenVT,
37-
[{return (0 <= Imm && Imm <= 7);}]> {
38-
let ParserMatchClass = RnumArg_0_7;
39-
let DecoderMethod = "decodeUImmOperand<5>";
40-
let OperandType = "OPERAND_RVKRNUM_0_7";
41-
let OperandNamespace = "RISCVOp";
42-
}
43-
44-
def rnum_1_10 : Operand<XLenVT>, ImmLeaf<XLenVT,
45-
[{return (1 <= Imm && Imm <= 10);}]> {
46-
let ParserMatchClass = RnumArg_1_10;
47-
let DecoderMethod = "decodeUImmOperand<5>";
48-
let OperandType = "OPERAND_RVKRNUM_1_10";
49-
let OperandNamespace = "RISCVOp";
50-
}
51-
52-
def rnum_2_14 : Operand<XLenVT>, ImmLeaf<XLenVT,
53-
[{return (2 <= Imm && Imm <= 14);}]> {
54-
let ParserMatchClass = RnumArg_2_14;
55-
let DecoderMethod = "decodeUImmOperand<5>";
56-
let OperandType = "OPERAND_RVKRNUM_2_14";
57-
let OperandNamespace = "RISCVOp";
58-
}
59-
6018
def tuimm5 : Operand<XLenVT>, TImmLeaf<XLenVT, [{return isUInt<5>(Imm);}]> {
6119
let ParserMatchClass = UImmAsmOperand<5>;
6220
let EncoderMethod = "getUImmOpValue";

0 commit comments

Comments
 (0)