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

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 12 12:35:07 PST 2021


rampitec updated this revision to Diff 386924.
rampitec added a comment.

Capture `~A` from the original expression to reuse.


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

https://reviews.llvm.org/D112966

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112966.386924.patch
Type: text/x-patch
Size: 22217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211112/03f39eac/attachment-0001.bin>


More information about the llvm-commits mailing list