-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RyuJIT] Unnecessary nullcheck in Exchange_long benchmark #44087
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Ah, it's an instance method |
@EgorBo I think we can teach |
|
Yes, this should be easy to handle. |
Another implicit indir is
and if |
Moving to .NET 8. |
dotnet/performance/Perf.Interlocked.cs#L39:
Codegen for
Exchange_long
:this code never throws NRE.
Is it
#define CONSERVATIVE_NULL_CHECK_BYREF_CREATION 1
's fault?/cc @dotnet/jit-contrib @sandreenko
UPD: Same in MONO:
category:cq
theme:optimization
skill-level:beginner
cost:small
impact:small
The text was updated successfully, but these errors were encountered: