[PATCH] D126171: [InstCombine] fold icmp of zext bool based on limited range
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 22 13:37:39 PDT 2022
spatel updated this revision to Diff 431262.
spatel added a comment.
Patch updated:
1. Use commutative matcher to reduce code.
2. Add TODO for related pattern.
3. Verify fold with more tests.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126171/new/
https://reviews.llvm.org/D126171
Files:
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/icmp-range.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126171.431262.patch
Type: text/x-patch
Size: 5990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220522/2286f33c/attachment.bin>
More information about the llvm-commits
mailing list