[PATCH] D52146: [InstCombine] foldICmpWithLowBitMaskedVal(): handle ~(-1 << y) mask

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 19 06:38:12 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL342546: [InstCombine] foldICmpWithLowBitMaskedVal(): handle  ~(-1 << y)  mask (authored by lebedevri, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D52146?vs=165674&id=166118#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D52146

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/trunk/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-eq-to-icmp-ule.ll
  llvm/trunk/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-ne-to-icmp-ugt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52146.166118.patch
Type: text/x-patch
Size: 17731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180919/bac85059/attachment-0001.bin>


More information about the llvm-commits mailing list