[PATCH] D63675: [InstCombine] Simplify icmp ult/uge (shl %x, C2), C1 iff C1 is power of two -> icmp eq/ne (and %x, (lshr -C1, C2)), 0.

Huihui Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 21 14:57:53 PDT 2019


huihuiz added a comment.

This will fix the missing fold found in D63505 <https://reviews.llvm.org/D63505>

Adding original test in differential D63670 <https://reviews.llvm.org/D63670>


Repository:
  rL LLVM

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

https://reviews.llvm.org/D63675





More information about the llvm-commits mailing list