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

[SR-5348] Existential container ABI should accomodate stack allocated buffers. #47922

Open
atrick opened this issue Jul 1, 2017 · 0 comments
Assignees
Labels
affects ABI Flag: Affects ABI compiler The Swift compiler in itself task

Comments

@atrick
Copy link
Member

atrick commented Jul 1, 2017

Previous ID SR-5348
Radar rdar://problem/33100026
Original Reporter @atrick
Type Task
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Task, AffectsABI
Assignee @aschwaighofer
Priority Medium

md5: c507678e18e70c7f8c12aafc83b03995

Issue Description:

When existential containers are allocated for local variables, the
compiler knows the concrete type and can directly allocate storage.

The ABI tasks here is to:

  • determine whether it is even potentially useful to stack allocate some existential storage.

  • reserve a bit somewhere in the value-witness table that identifies
    stack allocated storage so that COW existential support does the
    right thing in these cases.

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects ABI Flag: Affects ABI compiler The Swift compiler in itself task
Projects
None yet
Development

No branches or pull requests

1 participant