[InstCombine] allow more commutative matches for logical-and to select fold
When the common value is part of either select condition, this is safe to reduce. Otherwise, it is not poison-safe (with the select form of the pattern): https://alive2.llvm.org/ce/z/FxQTzB This is another patch motivated by issue #58313.
Loading
Please sign in to comment