[PATCH] D55745: [InstCombine] Simplify cttz/ctlz + icmp eq/ne into mask check

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 18 11:01:50 PST 2018


nikic updated this revision to Diff 178735.
nikic added a comment.

Add single use check and tests.


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

https://reviews.llvm.org/D55745

Files:
  lib/Transforms/InstCombine/InstCombineCompares.cpp
  test/Transforms/InstCombine/cmp-intrinsic.ll
  test/Transforms/InstCombine/intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55745.178735.patch
Type: text/x-patch
Size: 10861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181218/e1e5e95e/attachment.bin>


More information about the llvm-commits mailing list