[PATCH] D156335: [RISCV] Simplify tablegen for XCV mac and mul instructions. NFC.

Jim Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 07:38:10 PDT 2023


Jim created this revision.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
Jim requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, eopXD, MaskRay.
Herald added a project: LLVM.

CVInstMac reuses RVInstR that has the same encoding fields.

Add a new class CVInst16I that has specific encoding fields, and two
new class CVInstMac16I and CVInstMul16I that inherite CVInst16I with
different outs and ins.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156335

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156335.544365.patch
Type: text/x-patch
Size: 8085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230726/66c394bf/attachment.bin>


More information about the llvm-commits mailing list