Skip to content

Commit 09174c0

Browse files
committed
[RISCV] Remove unused Opcode field from RVInst16. NFC
Unlike RVInst which also has an Opcode field, all of the subclasseso of RVInst16 assign Inst{1-0} directly. Reviewed By: asb, wangpc Differential Revision: https://reviews.llvm.org/D155791
1 parent ab6827f commit 09174c0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Target/RISCV/RISCVInstrFormatsC.td

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ class RVInst16<dag outs, dag ins, string opcodestr, string argstr,
2020
// to build the decode table.
2121
field bits<16> SoftFail = 0;
2222
let Size = 2;
23-
24-
bits<2> Opcode = 0;
2523
}
2624

2725
class RVInst16CR<bits<4> funct4, bits<2> opcode, dag outs, dag ins,

0 commit comments

Comments
 (0)