[PATCH] D88834: [InstCombine] matchRotate - add support for matching general funnel shifts with constant shift amounts (PR46896)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 07:04:09 PDT 2020


RKSimon created this revision.
RKSimon added reviewers: spatel, lebedev.ri, nikic.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
RKSimon requested review of this revision.

First step towards extending the existing rotation support to full funnel shift handling now that the backend legalization support has improved.

This enables us to match the shift by constant cases, which are pretty trivial to expand again if necessary.

D88420 <https://reviews.llvm.org/D88420> will add non-uniform support for funnel shifts as well once its been finalized.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88834

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/funnel.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88834.296174.patch
Type: text/x-patch
Size: 7308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201005/66b1bcd3/attachment.bin>


More information about the llvm-commits mailing list