[PATCH] D90382: [InstCombine] foldSelectRotate - generalize to foldSelectFunnelShift

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 29 04:25:45 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.

This is the last of the rotate->funnel shift InstCombine generalizations for PR46896

We still have foldGuardedRotateToFunnelShift to deal with in AggressiveInstCombine


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90382

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90382.301568.patch
Type: text/x-patch
Size: 6894 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201029/0bf53cf8/attachment.bin>


More information about the llvm-commits mailing list