[PATCH] D49179: [InstCombine] Fold x & (-1 >> y) == x to x u<= (-1 >> y)

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 11 12:10:08 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL336834: [InstCombine] Fold  x & (-1 >> y) == x  to  x u<= (-1 >> y) (authored by lebedevri, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D49179?vs=155015&id=155042#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D49179

Files:
  llvm/trunk/include/llvm/IR/PatternMatch.h
  llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/trunk/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-eq-to-icmp-ule.ll
  llvm/trunk/test/Transforms/InstCombine/canonicalize-low-bit-mask-and-icmp-eq-to-icmp-ule.ll
  llvm/trunk/test/Transforms/InstCombine/icmp-logical.ll
  llvm/trunk/test/Transforms/InstCombine/icmp-mul-zext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49179.155042.patch
Type: text/x-patch
Size: 12313 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180711/4e8cd344/attachment.bin>


More information about the llvm-commits mailing list