[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 00:33:08 PDT 2022


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

update shift+lshr+and transform


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126591/new/

https://reviews.llvm.org/D126591

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/and.ll
  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.432768.patch
Type: text/x-patch
Size: 24784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220529/1d0de995/attachment.bin>


More information about the llvm-commits mailing list