[PATCH] D92345: [RISCV] WIP add DAG combining for rotates and GREVI

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 30 13:14:26 PST 2020


craig.topper created this revision.
craig.topper added a reviewer: frasercrmck.
Herald added subscribers: NickHung, evandro, luismarques, apazos, sameer.abuasal, pzheng, s.egerton, lenary, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
Herald added a project: LLVM.
craig.topper requested review of this revision.
Herald added a subscriber: MaskRay.

This is an initial patch to enable combining (rotate (grev)) and (grev (rotate)). I've added a helper to match rotates that we care about. Not sure if I'm happy with it yet. The match needs more test cases.


https://reviews.llvm.org/D92345

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfoB.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92345.308471.patch
Type: text/x-patch
Size: 5740 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201130/a894c656/attachment.bin>


More information about the llvm-commits mailing list