[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
Mon Jun 24 16:13:32 PDT 2019
- Previous message: [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.
- Next message: [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.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
huihuiz updated this revision to Diff 206320.
huihuiz added a comment.
update for added vector tests
Repository:
rL LLVM
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.206320.patch
Type: text/x-patch
Size: 8515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190624/07fb639b/attachment.bin>
- Previous message: [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.
- Next message: [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.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the llvm-commits
mailing list