[PATCH] D55747: [SelectionDAGBuilder] Enable funnel shift building to custom rotates

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 16 12:34:58 PST 2018


RKSimon created this revision.
RKSimon added reviewers: spatel, efriedma, atanasyan, hfinkel, uweigand, kparzysz, echristo, arsenm, t.p.northover, tra, asb, craig.topper.
Herald added a subscriber: wdng.

This patch enables funnel shift -> rotate building for all ROTL/ROTR custom/legal operations.

AFAICT X86 was the last target that was missing modulo support (PR38243), but I've tried to CC stakeholders for every target that has ROTL/ROTR custom handling for their final OK.


Repository:
  rL LLVM

https://reviews.llvm.org/D55747

Files:
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  test/CodeGen/X86/funnel-shift-rot.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55747.178407.patch
Type: text/x-patch
Size: 8205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181216/8e2834c7/attachment.bin>


More information about the llvm-commits mailing list