-
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
Remove unused GETFIELD/SETFIELD helpers #105023
Conversation
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
This is actually an optimization done by the importer. It avoids introducing unnecessary copies by passing the address of the store destination of the I'm fine with simplifying all of this, especially if it's going to be on the cold path, just wanted to add some context and add it here for posterity. |
Yeah it's understandable, I presume it's better to use a separate node/GT_INTRINSIC for such case to avoid dealing with ABI stuff too early? Here are the SPMI diffs on win-x64 (although, I couldn't download libraries.pmi.tests collection): https://gist.github.com/EgorBo/6d6f29c571b09f058ab3f2f80ba6e70a not too bad IMO |
@jakobbotsch does the jit part look good otherwise? I've applied the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice clean up!
Also, JIT used to pretend that
CORINFO_HELP_UNBOX_NULLABLE
returned a TYP_STRUCT and had some special handling around multi-reg return. While in fact the helper is VOID