[PATCH] D140666: [InstCombine] combine intersection for inequality icmps

Yingchi Long via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 26 20:41:25 PST 2022


inclyc updated this revision to Diff 485341.
inclyc edited the summary of this revision.
inclyc added a comment.

Handle `(icmp ne (A & B), B) & (icmp eq (A & D), D)`, B & D having a single bit set


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140666

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/icmp-logical.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140666.485341.patch
Type: text/x-patch
Size: 4104 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221227/487bff7f/attachment.bin>


More information about the llvm-commits mailing list