[PATCH] D63025: [InstCombine] Add tests to show missing fold opportunity for "icmp and shift" (nfc).

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


huihuiz updated this revision to Diff 204434.
huihuiz retitled this revision from "[InstCombine] Add tests to show fold order is wrong for icmp pred (and (sh X, Y), C), 0." to "[InstCombine] Add tests to show missing fold opportunity for "icmp and shift" (nfc).".
huihuiz edited the summary of this revision.

Repository:
  rL LLVM

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

https://reviews.llvm.org/D63025

Files:
  test/Transforms/InstCombine/lshr-and-negC-icmpeq-zero.ll
  test/Transforms/InstCombine/lshr-and-signbit-icmpeq-zero.ll
  test/Transforms/InstCombine/shl-and-negC-icmpeq-zero.ll
  test/Transforms/InstCombine/shl-and-signbit-icmpeq-zero.ll
  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: D63025.204434.patch
Type: text/x-patch
Size: 53798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190613/2c07c783/attachment.bin>


More information about the llvm-commits mailing list