[PATCH] D58009: [DAGCombine] Simplify funnel shifts with undef args to bitshifts

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 9 14:39:29 PST 2019


RKSimon created this revision.
RKSimon added reviewers: spatel, lebedev.ri.
Herald added a project: LLVM.

Now that we have SimplifyDemandedBits support for funnel shifts (rL353539 <https://reviews.llvm.org/rL353539>), we need to simplify funnel shifts back to bitshifts in cases where either argument has been folded to undef.


Repository:
  rL LLVM

https://reviews.llvm.org/D58009

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58009.186135.patch
Type: text/x-patch
Size: 5738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190209/d9b9516c/attachment.bin>


More information about the llvm-commits mailing list