[PATCH] D34870: [InstCombine] Fold (a | b) ^ (~a | ~b) --> ~(a ^ b) and (a & b) ^ (~a & ~b) --> ~(a ^ b)

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 1 18:16:12 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL306967: [InstCombine] Fold (a | b) ^ (~a | ~b) --> ~(a ^ b) and (a & b) ^ (~a & ~b) -->… (authored by ctopper).

Changed prior to commit:
  https://reviews.llvm.org/D34870?vs=104827&id=105015#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D34870

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/trunk/test/Transforms/InstCombine/and-or-not.ll
  llvm/trunk/test/Transforms/InstCombine/or-xor.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34870.105015.patch
Type: text/x-patch
Size: 6724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170702/503fd61f/attachment.bin>


More information about the llvm-commits mailing list