-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RISC-V] Avoid using native layout info to calculate register flags f…
…or small structs where possible (#97877) * Remove initializing native layout info for small structs during type load Managed->managed calling convention should not depend on native info which is used for interop marshalling with unmanaged code which is above the type loader. * Don't use native layout in GetRiscV64PassStructInRegisterFlags unless we're calculating flags for a native value type * Remove redundant assertions, AsNativeValueType() has the same * Cover implied repeated fields, a.k.a fixed arrays, in when calculating small struct flags from non-native layout * Cover implied repeated fields, a.k.a fixed arrays, also in non-native branch of IsRiscV64OnlyOneField
- Loading branch information
Showing
1 changed file
with
63 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters