[PATCH] D156984: [RISCV][NFC] Remove unused code in RISCV/RISCVInstrInfoZvk.td
Brandon Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 3 04:48:03 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1547b81d2089: [RISCV][NFC] Remove unused code in RISCV/RISCVInstrInfoZvk.td (authored by 4vtomat).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156984/new/
https://reviews.llvm.org/D156984
Files:
llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
Index: llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
===================================================================
--- llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
+++ llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
@@ -15,48 +15,6 @@
// Operand and SDNode transformation definitions.
//===----------------------------------------------------------------------===//
-def RnumArg_0_7 : AsmOperandClass {
- let Name = "RnumArg_0_7";
- let RenderMethod = "addImmOperands";
- let DiagnosticType = "InvalidRnumArg_0_7";
-}
-
-def RnumArg_1_10 : AsmOperandClass {
- let Name = "RnumArg_1_10";
- let RenderMethod = "addImmOperands";
- let DiagnosticType = "InvalidRnumArg_1_10";
-}
-
-def RnumArg_2_14 : AsmOperandClass {
- let Name = "RnumArg_2_14";
- let RenderMethod = "addImmOperands";
- let DiagnosticType = "InvalidRnumArg_2_14";
-}
-
-def rnum_0_7 : Operand<XLenVT>, ImmLeaf<XLenVT,
- [{return (0 <= Imm && Imm <= 7);}]> {
- let ParserMatchClass = RnumArg_0_7;
- let DecoderMethod = "decodeUImmOperand<5>";
- let OperandType = "OPERAND_RVKRNUM_0_7";
- let OperandNamespace = "RISCVOp";
-}
-
-def rnum_1_10 : Operand<XLenVT>, ImmLeaf<XLenVT,
- [{return (1 <= Imm && Imm <= 10);}]> {
- let ParserMatchClass = RnumArg_1_10;
- let DecoderMethod = "decodeUImmOperand<5>";
- let OperandType = "OPERAND_RVKRNUM_1_10";
- let OperandNamespace = "RISCVOp";
-}
-
-def rnum_2_14 : Operand<XLenVT>, ImmLeaf<XLenVT,
- [{return (2 <= Imm && Imm <= 14);}]> {
- let ParserMatchClass = RnumArg_2_14;
- let DecoderMethod = "decodeUImmOperand<5>";
- let OperandType = "OPERAND_RVKRNUM_2_14";
- let OperandNamespace = "RISCVOp";
-}
-
def tuimm5 : Operand<XLenVT>, TImmLeaf<XLenVT, [{return isUInt<5>(Imm);}]> {
let ParserMatchClass = UImmAsmOperand<5>;
let EncoderMethod = "getUImmOpValue";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156984.546802.patch
Type: text/x-patch
Size: 1918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230803/b22789c9/attachment.bin>
More information about the llvm-commits
mailing list