Skip to content

JIT: Update gtHasLocalsWithAddrOp to use GenTreeVisitor#75672

Merged
jakobbotsch merged 2 commits into
dotnet:mainfrom
jakobbotsch:update-gtHasLocalsWithAddrOp
Sep 23, 2022
Merged

JIT: Update gtHasLocalsWithAddrOp to use GenTreeVisitor#75672
jakobbotsch merged 2 commits into
dotnet:mainfrom
jakobbotsch:update-gtHasLocalsWithAddrOp

Conversation

@jakobbotsch
Copy link
Copy Markdown
Member

Also change it to check for any local, not just GT_LCL_VAR.

Also change it to check for any local, not just GT_LCL_VAR.
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 15, 2022
@ghost ghost assigned jakobbotsch Sep 15, 2022
@ghost
Copy link
Copy Markdown

ghost commented Sep 15, 2022

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

Issue Details

Also change it to check for any local, not just GT_LCL_VAR.

Author: jakobbotsch
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@jakobbotsch jakobbotsch added this to the 8.0.0 milestone Sep 15, 2022
@jakobbotsch
Copy link
Copy Markdown
Member Author

cc @dotnet/jit-contrib, simple change with no diffs and some small TP improvements.

Comment thread src/coreclr/jit/gentree.cpp
Co-authored-by: Andy Ayers <andya@microsoft.com>
@jakobbotsch jakobbotsch reopened this Sep 17, 2022
@jakobbotsch
Copy link
Copy Markdown
Member Author

@AndyAyersMS Can you take another look?

@jakobbotsch
Copy link
Copy Markdown
Member Author

Diffs look spurious (#53773). I think the #53773 problem is more pronounced now that we have frozen objects too, we probably need a few JIT-EE interface changes to make sure that we can use the captured field addresses/object addresses during SPMI (JIT probably needs to ask the EE about values instead of dereferencing them directly, should probably help R2R/NAOT too). cc @EgorBo

@jakobbotsch
Copy link
Copy Markdown
Member Author

Ping @AndyAyersMS

@jakobbotsch jakobbotsch merged commit ba0778a into dotnet:main Sep 23, 2022
@jakobbotsch jakobbotsch deleted the update-gtHasLocalsWithAddrOp branch September 23, 2022 16:33
@ghost ghost locked as resolved and limited conversation to collaborators Oct 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants