[PATCH] D143373: [InstCombine] fold icmp of the sum of ext bool based on limited range
chenglin.bi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 12 20:21:59 PST 2023
bcl5980 updated this revision to Diff 496832.
bcl5980 added a comment.
remove the condition CmpC->abs().ule(1)
add cases return constant
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143373/new/
https://reviews.llvm.org/D143373
Files:
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/test/Transforms/InstCombine/icmp-range.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143373.496832.patch
Type: text/x-patch
Size: 12427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230213/083fc491/attachment.bin>
More information about the llvm-commits
mailing list