[PATCH] D151309: [RISCV][NFC] Simplify decoding code of disassembler

Wang Pengcheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 01:59:40 PDT 2023


pcwang-thead created this revision.
pcwang-thead added reviewers: asb, craig.topper, 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, jrtc27, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
pcwang-thead requested review of this revision.
Herald added subscribers: llvm-commits, eopXD, MaskRay.
Herald added a project: LLVM.

The decoding parts are reduplicative, we add a macro to simplify
the code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151309

Files:
  llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151309.525068.patch
Type: text/x-patch
Size: 9932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230524/abcbb16e/attachment.bin>


More information about the llvm-commits mailing list