[PATCH] D113132: [InstCombine] Fuse checks for LHS (~(A | B) & C) | ... NFC.

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 8 16:04:03 PST 2021


rampitec added a comment.

Quite similarly we are not handling inverted case from D112276 <https://reviews.llvm.org/D112276>: https://alive2.llvm.org/ce/z/ywuzdS
This is done: `(c & ~(a | b)) | (b & ~(a | c))` --> `~a & (b ^ c)`, and this is not: `(c | ~(a & b)) & (b | ~(a & c))` --> `~(a & (b ^ c))`.


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

https://reviews.llvm.org/D113132



More information about the llvm-commits mailing list