[PATCH] D126591: [InstCombine] Optimise shift+and+boolean conversion pattern to simple comparison
chenglin.bi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 29 23:33:57 PDT 2022
bcl5980 updated this revision to Diff 432838.
bcl5980 edited the summary of this revision.
bcl5980 added a comment.
1. remove shift+lshr+and pattern
2. update second pattern to make it more general
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126591/new/
https://reviews.llvm.org/D126591
Files:
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/icmp-and-shift.ll
llvm/test/Transforms/InstCombine/lshr-and-signbit-icmpeq-zero.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126591.432838.patch
Type: text/x-patch
Size: 12866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220530/4209ba99/attachment.bin>
More information about the llvm-commits
mailing list