You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fix#2946, we can precompute the LHS and
allow one of the existing optimizations to
generate an `if` that gets precomputed later.
Still, for slightly more complicated cases, like
`123 && 456`, that alone doesn't seem to work. So
we add an additional optimization to check the
truthiness of the LHS and use that to simplify the
expression to either the LHS or the RHS, without
generating an `if`.
0 commit comments