[PATCH] D88783: [InstCombine] matchFunnelShift - fold or(shl(a,x),lshr(b,sub(bw,x))) -> fshl(a,b,x) iff x < bw

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 09:21:27 PDT 2020


RKSimon updated this revision to Diff 297257.
RKSimon edited the summary of this revision.
RKSimon added a comment.

Improve comment describing the limits of the fold.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88783/new/

https://reviews.llvm.org/D88783

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88783.297257.patch
Type: text/x-patch
Size: 6012 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201009/da6829fe/attachment.bin>


More information about the llvm-commits mailing list