[PATCH] D133919: [InstCombine] Fold ((x?1:4)&(y?1:4))==0 to x^y
Marc Auberer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 16 16:41:56 PDT 2022
marcauberer updated this revision to Diff 460944.
marcauberer added a comment.
Consider more checks and icmp ne as well
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133919/new/
https://reviews.llvm.org/D133919
Files:
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/select_and_icmpeq.ll
llvm/test/Transforms/InstCombine/select_and_icmpne.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133919.460944.patch
Type: text/x-patch
Size: 10734 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220916/b5c9ca40/attachment.bin>
More information about the llvm-commits
mailing list