[PATCH] D122077: [InstCombine] Fold (ctpop(X) == 1) | (X == 0) into ctpop(X) < 2
Hirochika Matsumoto via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 20 02:08:58 PDT 2022
hkmatsumoto updated this revision to Diff 416763.
hkmatsumoto added a comment.
Address code review, removing "but this could reduce" from comment
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122077/new/
https://reviews.llvm.org/D122077
Files:
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/test/Transforms/InstCombine/icmp-or.ll
llvm/test/Transforms/InstCombine/ispow2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122077.416763.patch
Type: text/x-patch
Size: 8933 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220320/0cb3d67b/attachment.bin>
More information about the cfe-commits
mailing list