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

Implement support for Swift frozen structs in Mono runtime #102077

Closed
4 of 6 tasks
Tracked by #93631
kotlarmilos opened this issue May 10, 2024 · 1 comment
Closed
4 of 6 tasks
Tracked by #93631

Implement support for Swift frozen structs in Mono runtime #102077

kotlarmilos opened this issue May 10, 2024 · 1 comment
Assignees
Milestone

Comments

@kotlarmilos
Copy link
Member

kotlarmilos commented May 10, 2024

Description

This issue tracks the implementation of the Swift frozen struct lowering in Mono runtime. The Swift runtime enregisters frozen structs as a set of primitives if the sequence <= 4 machine words. The Mono runtime should utilize the lowering API and implements the same behavior as the Swift runtime when interoperating with Swift in JIT/AOT and interpreter configurations.

The lowering algorithm is implemented in . The Mono runtime should utilize the lowering API and have the same behavior as Swift runtime when interop with Swift in JIT/AOT and interpreter configurations.

The existing runtime tests should be used for validation.

Tasks

@kotlarmilos
Copy link
Member Author

Moving the following to the next release.

  • (optional) Add cache that maps structs to computed lowering (SwiftPhysicalLowering). The goal is to eliminate repeated runs of lowering algorithm for "known" structs.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants