[PATCH] D63675: [InstCombine] Simplify icmp ult/uge (shl %x, C2), C1 iff C1 is power of two -> icmp eq/ne (and %x, (lshr -C1, C2)), 0.
Huihui Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 13:49:36 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb90cb57b63ae: [InstCombine] Simplify icmp ult/uge (shl %x, C2), C1 iff C1 is power of two ->… (authored by huihuiz).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63675/new/
https://reviews.llvm.org/D63675
Files:
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/pr17827.ll
llvm/test/Transforms/InstCombine/shl-unsigned-cmp-const.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63675.206524.patch
Type: text/x-patch
Size: 8515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190625/8b197ee8/attachment.bin>
More information about the llvm-commits
mailing list