[PATCH] D155932: [WIP][RISCV] Add subclasses of Sched to simplify code

Wang Pengcheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 21 02:51:17 PDT 2023


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

We add some subclasses of Sched to reduce code which cast string
to `SchedWrite`/`SchedRead`.

Besides, we add `ReadVMask` iff pseudo is masked. And this is the
reason why this patch isn't a NFC since we add it for all pseudos
before.

`ReadMergeOp` will be added in D155654 <https://reviews.llvm.org/D155654>.

(This patch is WIP and only a small part of code are changed to show
the difference. If we all agree with this kind change, I will finish
it next week).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155932

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155932.542836.patch
Type: text/x-patch
Size: 6258 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230721/4c213fb3/attachment.bin>


More information about the llvm-commits mailing list