[PATCH] D90625: [AggressiveInstCombine] Generalize foldGuardedRotateToFunnelShift to generic funnel shifts

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 09:42:24 PST 2020


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

The fold currently only handles rotation patterns, but with the maturation of backend funnel shift handling we can now realistically handle all funnel shift patterns.

This should allow us to begin resolving PR46896 et al.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90625

Files:
  llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  llvm/test/Transforms/AggressiveInstCombine/funnel.ll
  llvm/test/Transforms/AggressiveInstCombine/rotate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90625.302319.patch
Type: text/x-patch
Size: 13268 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201102/b0ddef07/attachment.bin>


More information about the llvm-commits mailing list