[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
Tue Jun 7 01:19:29 PDT 2022


bcl5980 updated this revision to Diff 434721.
bcl5980 edited the summary of this revision.
bcl5980 added a comment.

rebase code
remove lshr case as it can handled by rGa0c3c60728ee <https://reviews.llvm.org/rGa0c3c60728ee5bc7d6ca40a5b6e446cde72c6700>


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126591.434721.patch
Type: text/x-patch
Size: 7977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220607/41ac4b1d/attachment.bin>


More information about the llvm-commits mailing list