[PATCH] D63026: [InstCombine] Fold icmp eq/ne (and %x, signbit), 0 -> %x s>=/s< 0 earlier

Huihui Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 10:19:25 PDT 2019


huihuiz updated this revision to Diff 205630.
huihuiz marked an inline comment as done.
huihuiz added a comment.

this differential update address inline comment - adding comment for restriction this fold to single-use 'and' (PR10267)


Repository:
  rL LLVM

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

https://reviews.llvm.org/D63026

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/lshr-and-signbit-icmpeq-zero.ll
  llvm/test/Transforms/InstCombine/shl-and-signbit-icmpeq-zero.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63026.205630.patch
Type: text/x-patch
Size: 9118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190619/f983db40/attachment.bin>


More information about the llvm-commits mailing list