[PATCH] D49205: [InstCombine] Fold x & (-1 >> y) != x to x u> (-1 >> y)
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 11 14:38:40 PDT 2018
lebedev.ri created this revision.
lebedev.ri added reviewers: spatel, craig.topper.
A complementary fold to https://reviews.llvm.org/D49179.
https://bugs.llvm.org/show_bug.cgi?id=38123
https://rise4fun.com/Alive/Rny
Caveat: one more thing in `test/Transforms/InstCombine/icmp-logical.ll` breaks.
Repository:
rL LLVM
https://reviews.llvm.org/D49205
Files:
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll
test/Transforms/InstCombine/canonicalize-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll
test/Transforms/InstCombine/icmp-logical.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49205.155065.patch
Type: text/x-patch
Size: 8791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180711/281f9e6a/attachment.bin>
More information about the llvm-commits
mailing list