[PATCH] D34244: [InstCombine] Fold (!iszero(A & K1) & !iszero(A & K2)) -> (A & (K1 | K2)) == (K1 | K2) if K1 and K2 are a 1-bit mask

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 15 22:11:15 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL305548: [InstCombine] Fold (!iszero(A & K1) & !iszero(A & K2)) ->  (A & (K1 | K2)) ==… (authored by ctopper).

Changed prior to commit:
  https://reviews.llvm.org/D34244?vs=102706&id=102784#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D34244

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/trunk/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/trunk/test/Transforms/InstCombine/onehot_merge.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34244.102784.patch
Type: text/x-patch
Size: 8985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170616/bec62085/attachment.bin>


More information about the llvm-commits mailing list