[PATCH] D144610: [InstCombine] Add transforms for `(icmp upred (or X, Y), X)`

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 28 21:12:38 PDT 2023


goldstein.w.n updated this revision to Diff 526370.
goldstein.w.n added a comment.

Add X & ~Y == 0 transform


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144610

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/icmp-of-or-x.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144610.526370.patch
Type: text/x-patch
Size: 4993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230529/d29efb3a/attachment.bin>


More information about the llvm-commits mailing list