[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 Aug 13 11:01:33 PDT 2023


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

Add another freely invertible fold


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.549728.patch
Type: text/x-patch
Size: 5300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230813/cad47824/attachment.bin>


More information about the llvm-commits mailing list