[PATCH] D63505: [InstCombine] Fold icmp eq/ne (and %x, C), 0 iff (-C) is power of two -> %x u</u>= (-C) earlier.

Huihui Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 24 17:10:20 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL364255: [InstCombine] Fold  icmp eq/ne (and %x, C), 0 iff (-C) is power of two -> %x… (authored by huihuiz, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D63505?vs=206307&id=206336#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D63505

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63505.206336.patch
Type: text/x-patch
Size: 9303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190625/ad816494/attachment.bin>


More information about the llvm-commits mailing list