[PATCH] D155791: [RISCV] Remove unused Opcode field from RVInst16. NFC
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 20 00:36:30 PDT 2023
craig.topper created this revision.
craig.topper added reviewers: asb, jrtc27, wangpc, kito-cheng.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: eopXD, MaskRay.
Herald added a project: LLVM.
Unlike RVInst which also has an Opcode field, all of the subclasseso
of RVInst16 assign Inst{1-0} directly.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D155791
Files:
llvm/lib/Target/RISCV/RISCVInstrFormatsC.td
Index: llvm/lib/Target/RISCV/RISCVInstrFormatsC.td
===================================================================
--- llvm/lib/Target/RISCV/RISCVInstrFormatsC.td
+++ llvm/lib/Target/RISCV/RISCVInstrFormatsC.td
@@ -20,8 +20,6 @@
// to build the decode table.
field bits<16> SoftFail = 0;
let Size = 2;
-
- bits<2> Opcode = 0;
}
class RVInst16CR<bits<4> funct4, bits<2> opcode, dag outs, dag ins,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155791.542339.patch
Type: text/x-patch
Size: 414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230720/5a092e72/attachment.bin>
More information about the llvm-commits
mailing list