[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 12:15:26 PST 2019
nikic updated this revision to Diff 180378.
nikic added a comment.
Create new compare instructions instead of modifying existing ones and manually managing worklist.
I'll also update the existing code for intrinsic icmps to this style, if it's accepted in this form.
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.180378.patch
Type: text/x-patch
Size: 11530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190105/124de39e/attachment.bin>
More information about the llvm-commits
mailing list