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

[release/6.0] Do not promote struct locals with holes #62738

Merged
merged 3 commits into from
Jan 3, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 13, 2021

Backport of #62645 to release/6.0

/cc @kunalspathak

Customer Impact

This is a fix for customer reported issue in #62597 where we would zero out the struct fields leading to incorrect result. This functionality was regressed during .NET 6 in #43870.

Testing

All the tests, superpmi-replay.

Risk

Earlier, we would optimize and use registers to pass the struct arguments, but with this change, we would use memory instead, the way we had in .NET 5. There is not much performance impact as there are only few scenarios where we would disable the passing of structs using registers.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Dec 13, 2021
@ghost
Copy link

ghost commented Dec 13, 2021

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

Issue Details

Backport of #62645 to release/6.0

/cc @kunalspathak

Customer Impact

Testing

Risk

Author: github-actions[bot]
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@kunalspathak
Copy link
Member

@dotnet/jit-contrib

@safern safern added the Servicing-consider Issue for next servicing release review label Dec 15, 2021
@safern
Copy link
Member

safern commented Dec 15, 2021

@kunalspathak has this been approved by tactics yet?

@kunalspathak
Copy link
Member

@kunalspathak has this been approved by tactics yet?

What is the process to get that approval?

@kunalspathak kunalspathak added the Servicing-approved Approved for servicing release label Dec 15, 2021
@safern safern removed the Servicing-consider Issue for next servicing release review label Dec 15, 2021
@safern safern merged commit 6f1e03f into release/6.0 Jan 3, 2022
@safern safern deleted the backport/pr-62645-to-release/6.0 branch January 3, 2022 02:20
@ghost ghost locked as resolved and limited conversation to collaborators Feb 2, 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 Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants