[PATCH] D56355: [InstCombine] Simplify cttz/ctlz + icmp ugt/ult into mask check
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 5 10:18:07 PST 2019
nikic updated this revision to Diff 180373.
nikic added a comment.
Split up functions for eq and non-eq icmps. Handle ctlz separately from cttz by going directly to the form using only a comparison. Rebase over improved tests with multiuse and vector variants.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56355/new/
https://reviews.llvm.org/D56355
Files:
lib/Transforms/InstCombine/InstCombineCompares.cpp
lib/Transforms/InstCombine/InstCombineInternal.h
test/Transforms/InstCombine/cmp-intrinsic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56355.180373.patch
Type: text/x-patch
Size: 11638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190105/67089597/attachment.bin>
More information about the llvm-commits
mailing list