[PATCH] D43835: Simplify more cases of logical ops of masked icmps.
Hiroshi Yamauchi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 14:43:34 PST 2018
yamauchi created this revision.
yamauchi added a reviewer: davidxl.
For example,
((X & 255) != 0) && ((X & 15) == 8) -> ((X & 15) == 8).
((X & 7) != 0) && ((X & 15) == 8) -> false.
Repository:
rL LLVM
https://reviews.llvm.org/D43835
Files:
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
test/Transforms/InstCombine/icmp-logical.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43835.136163.patch
Type: text/x-patch
Size: 10980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180227/1d94e42e/attachment.bin>
More information about the llvm-commits
mailing list