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
LLVM does not seem to notice that this select is unconditional, because %2 should imply that %d != 0 in the entire block, and therefore %1 can be replaced with false. Alive2 confirms this optimization is valid: https://alive2.llvm.org/ce/z/7nLDRe.