Skip to content

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