[PATCH] D15718: Recognize patterns for ctpop and ctlz in instcombine

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 10:56:02 PST 2015


kparzysz updated this revision to Diff 43461.
kparzysz added a comment.

Addresses all the comments except for splitting the patch into two.  The ctpop part does not depend on ctlz, but ctlz utilizes ctpop.


Repository:
  rL LLVM

http://reviews.llvm.org/D15718

Files:
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  test/Transforms/InstCombine/ctlz-match.ll
  test/Transforms/InstCombine/ctpop-match.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15718.43461.patch
Type: text/x-patch
Size: 18448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151222/5f0f0682/attachment.bin>


More information about the llvm-commits mailing list