[PATCH] D126617: [InstCombine] Optimize shl+lshr+and conversion pattern
chenglin.bi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 30 22:02:03 PDT 2022
bcl5980 updated this revision to Diff 433013.
bcl5980 retitled this revision from " [InstCombine] Optimize shift+lshr+and conversion pattern to simple comparison." to " [InstCombine] Optimize shl+lshr+and conversion pattern".
bcl5980 edited the summary of this revision.
bcl5980 added a comment.
1. rebase code
2. remove lshr+lshr pattern
3. add a new transform to make shift+and have higher priority
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126617/new/
https://reviews.llvm.org/D126617
Files:
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/test/Transforms/InstCombine/and.ll
llvm/test/Transforms/InstCombine/icmp-and-shift.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126617.433013.patch
Type: text/x-patch
Size: 7194 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220531/a3152472/attachment.bin>
More information about the llvm-commits
mailing list