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

Handle mis-sized structs in ARM/64 PUTARG_STK codegen #69905

Merged

Conversation

SingleAccretion
Copy link
Contributor

@SingleAccretion SingleAccretion commented May 27, 2022

Utilize a strategy similar to what x64/x86 codegen does: load progressively smaller types.

No diffs as expected.

Closes #60705.

@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 May 27, 2022
@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label May 27, 2022
@ghost
Copy link

ghost commented May 27, 2022

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

Issue Details

Let's see if this fixed the CI issue.

Author: SingleAccretion
Assignees: -
Labels:

area-CodeGen-coreclr, community-contribution

Milestone: -

We will now generate a series of small loads as necessary
to handle "remainderSize"s of 3, 5, 6 and 7.
@SingleAccretion SingleAccretion force-pushed the PutArgStk-ArmArch-Odd-Sized-Structs branch from c5c96bb to 5d6a2bc Compare May 28, 2022 12:44
@SingleAccretion SingleAccretion marked this pull request as ready for review May 28, 2022 15:36
@SingleAccretion
Copy link
Contributor Author

@dotnet/jit-contrib

Copy link
Member

@jakobbotsch jakobbotsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

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 community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JIT assert on arm32 when running DllImportGenerator unit tests: remainingSize == 4
2 participants