[PATCH] D154937: [InstCombine] Generalize foldAndOrOfICmpEqZeroAndICmp

Dhruv Chawla via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 09:55:45 PDT 2023


0xdc03 updated this revision to Diff 539171.
0xdc03 added a comment.

- Address reviewer comment: Match undef on add as well


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154937

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/and-or-icmp-const-icmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154937.539171.patch
Type: text/x-patch
Size: 9418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230711/197260a0/attachment.bin>


More information about the llvm-commits mailing list