[PATCH] D113216: [InstCombine] (~(a | b) & c) | ~(a | b | c) -> ~(a | b)

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 12 13:48:36 PST 2021


rampitec updated this revision to Diff 386945.
rampitec edited the summary of this revision.
rampitec added a comment.

Added swapped case

  (~(a & b) | c) & ~(a & b & c) -> ~(a & b)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113216/new/

https://reviews.llvm.org/D113216

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113216.386945.patch
Type: text/x-patch
Size: 13670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211112/cdecb53c/attachment.bin>


More information about the llvm-commits mailing list