[PATCH] D133328: [InstCombine] Fold icmp x, ~x and icmp ~x, x by testing the sign

Tian Zhou via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 27 22:32:17 PDT 2022


tianz updated this revision to Diff 463421.
tianz added a comment.

Updated the tests according to review comment


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

https://reviews.llvm.org/D133328

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/icmp-not.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133328.463421.patch
Type: text/x-patch
Size: 5240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220928/b561f163/attachment.bin>


More information about the llvm-commits mailing list