[PATCH] D154138: [InstCombine] Add tests for folding `(icmp eq/ne (or x, C), x)` -> `(icmp eq/ne (and x, C), C)`; NFC

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 30 13:58:02 PDT 2023


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

Add undef + poison tests


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154138

Files:
  llvm/test/Transforms/InstCombine/icmp-or-x-with-x.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154138.536414.patch
Type: text/x-patch
Size: 3788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230630/545f656c/attachment.bin>


More information about the llvm-commits mailing list