[PATCH] D62818: [InstCombine] Introduce fold for icmp pred (and X, (sh signbit, Y)), 0.

Huihui Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 23:53:02 PDT 2019


huihuiz updated this revision to Diff 204436.
huihuiz added a comment.

Original test cases are added in D63025 <https://reviews.llvm.org/D63025> . Hopefully would be good coverage :)
D63026 <https://reviews.llvm.org/D63026> fix fold order issue
this differential introduce new fold for icmp pred (and X, (sh signbit, Y)), 0


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62818

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62818.204436.patch
Type: text/x-patch
Size: 10156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190613/3069b50a/attachment.bin>


More information about the llvm-commits mailing list