[PATCH] D100074: [RISCV] Use multiclass inheritance to simplify some of riscv_vector.td. NFCI

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 7 16:05:09 PDT 2021


craig.topper created this revision.
craig.topper added reviewers: khchen, HsiangKai, evandro, arcbbb.
Herald added subscribers: StephenFan, vkmr, frasercrmck, dexonsmith, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb.
craig.topper requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

We don't need to instantiate single multiclasses inside of
other multiclasses. We can use inheritance and save writing 'defm ""'.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100074

Files:
  clang/include/clang/Basic/riscv_vector.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100074.335943.patch
Type: text/x-patch
Size: 9502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210407/a8ed203f/attachment.bin>


More information about the llvm-commits mailing list