[InstCombine] Fold logic-and/logic-or by distributive laws
X && Z || Y && Z --> (X || Y) && Z https://alive2.llvm.org/ce/z/nM6kZb (X || Z) && (Y || Z) --> (X && Y) || Z https://alive2.llvm.org/ce/z/_EWLRR Fix: https://github.com/llvm/llvm-project/issues/53861 Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D139408
Loading
Please sign in to comment