Skip to content
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

[interp] Add more super instructions and other small optimizations #51273

Merged
merged 8 commits into from
Apr 16, 2021

Conversation

BrzVlad
Copy link
Member

@BrzVlad BrzVlad commented Apr 14, 2021

No description provided.

BrzVlad added 8 commits April 7, 2021 17:30
We do it in the cprop pass because ldloca removal can enable additional copy propagations.
If the var no longer has indirects, we might be able to do cprop through it
Remove some unnecessary opcodes. Always do a null check when dereferencing pointers with ldind. Having an unsafe version of this is really useless performance wise and can only be used in very few cases.
It is redundant, we replace it with a MOV_8 which will end up being removed by the cprop pass.
@ghost
Copy link

ghost commented Apr 14, 2021

Tagging subscribers to this area: @BrzVlad
See info in area-owners.md if you want to be subscribed.

Issue Details
Author: BrzVlad
Assignees: -
Labels:

area-Codegen-Interpreter-mono

Milestone: -

@BrzVlad BrzVlad merged commit 797b106 into dotnet:main Apr 16, 2021
@ghost ghost locked as resolved and limited conversation to collaborators May 16, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants