[InstCombine] match logical and/or more generally in fold to select
This allows the regular bitwise logic opcodes in addition to the poison-safe select variants: https://alive2.llvm.org/ce/z/8xB9gy Handling commuted variants safely is likely trickier, so that's left to another patch.
parent
5a53fe84
Please register or sign in to comment