[PATCH] D16978: [InstCombine] Try harder to simplify ~(X & Y) -> ~X | ~Y and ~(X | Y) -> ~X & ~Y when X and Y have more than one uses.

Balaram Makam via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 13:36:09 PDT 2016


bmakam updated this revision to Diff 50638.
bmakam added a comment.

another attempt to minor fix, sorry.


http://reviews.llvm.org/D16978

Files:
  lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  test/Transforms/InstCombine/not2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16978.50638.patch
Type: text/x-patch
Size: 5895 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160314/b53e4eb4/attachment.bin>


More information about the llvm-commits mailing list