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
running through opt causes the sub to be switched out for
%3 = add i8 %2, -10
Note that the nuw flag was lost. This causes the compiled assembly to include an extra instruction. Originally found in rust-lang/rust#91449 .
Alive2 actually indicates that the nuw flag would be incorrect here, which makes sense since -10 is secretly just 246. Is there another way to address this? I can close this issue if the only reasonable response is "yeah, canonicalization requires us to do this, and sometimes that causes problems. Sorry"