Files
clang-p2996/llvm/test/CodeGen/X86/pull-conditional-binop-through-shift.ll
Noah Goldstein 88bd507dc2 [X86] Handle shifts + and in LowerSELECTWithCmpZero
shifts are the same as sub where rhs == 0 is identity.
and is the inverted case where:
    `SELECT (AND(X,1) == 0), (AND Y, Z), Y`
        -> `(AND Y, (OR NEG(AND(X, 1)), Z))`
With -1 as the identity.

Closes #107910
2024-09-09 16:19:26 -07:00

27 KiB