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
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Fix NEG decomposition to mark instructions that set and use flags
Fixes bad codegen in System.Math.Sign(long):
```
return unchecked((int)(value >> 63 | (long)((ulong)-value >> 63)));
```
where the flag-setting low part of the decomposed NEG was removed
as dead by the constant right shift with constant >= 32, even though
the flag setting is needed by the upper part.
Fixes the MathSign5 failure of #14860.
0 commit comments