Skip to content

Conversation

@LuckyXu-HF
Copy link
Contributor

[LoongArch64] Sync with PR#107282: Transfer arguments between calling conventions in shuffling thunks.

  • Set 'varDsc->lvIsMultiRegArg = true' when passing struct with two regs in 'Compiler::lvaInitUserArgs()' to avoid changing passing struct with two regs into one regs in Prolog.

… conventions in shuffling thunks.

* Set `varDsc->lvIsMultiRegArg = true` when passing struct with two regs in Compiler::lvaInitUserArgs()
to avoid changing passing struct with two regs into one regs in Prolog.
@ghost ghost added the area-VM-coreclr label Oct 22, 2024
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Oct 22, 2024
@dotnet-policy-service
Copy link
Contributor

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

@LuckyXu-HF
Copy link
Contributor Author

@tomeksowi Thanks very much for your notification and information.
@shushanhf @jkotas could you please review this PR? Thanks.

Copy link
Contributor

@shushanhf shushanhf 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

Copy link
Member

@tomeksowi tomeksowi left a comment

Choose a reason for hiding this comment

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

LGTM, some cleanup possible.

@jkotas
Copy link
Member

jkotas commented Oct 22, 2024

@dotnet/jit-contrib Could you please sign off on the JIT change?

Also set 'varDsc->lvIsMultiRegArg = true' in 'Compiler::lvaInitUserArgs()' when passing struct with multi regs for RiscV64.
@jakobbotsch
Copy link
Member

@jkotas Does the VM side look good to you?

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

VM side LGTM

@jkotas jkotas merged commit 529be78 into dotnet:main Oct 24, 2024
@LuckyXu-HF LuckyXu-HF deleted the main-LA64 branch October 25, 2024 01:04
@github-actions github-actions bot locked and limited conversation to collaborators Nov 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-loongarch64 area-VM-coreclr 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.

5 participants