Skip to content

LifetimeDependence: enable addressable dependencies #80223

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

Merged
merged 6 commits into from
Mar 24, 2025

Conversation

atrick
Copy link
Contributor

@atrick atrick commented Mar 22, 2025

Enable addressable dependencies

Handle conditionallyAddressableParamIndices. Preserve conditionallyAddressableParamIndices independent of any addressableParamIndices. The conditional dependencies are subject to change based on type substitution.

@atrick atrick force-pushed the enable-addressable branch 2 times, most recently from cff4af4 to d94a4dc Compare March 23, 2025 22:46
atrick added 5 commits March 23, 2025 16:59
Preserve conditionallyAddressableParamIndices independent of any
addressableParamIndices. The conditional dependencies are subject to change
based on type substitution.
With this approach, you cannot tell whether a parameter is addressable only
from the function type. Instead you need the SILValue that will be passed to the
call site.
@atrick atrick force-pushed the enable-addressable branch from d94a4dc to be2c6ee Compare March 24, 2025 04:24
@atrick atrick marked this pull request as ready for review March 24, 2025 04:26
@atrick
Copy link
Contributor Author

atrick commented Mar 24, 2025

@swift-ci test

@atrick atrick force-pushed the enable-addressable branch from be2c6ee to 69cfe61 Compare March 24, 2025 05:41
@atrick
Copy link
Contributor Author

atrick commented Mar 24, 2025

@swift-ci test

@atrick atrick merged commit d97a8ce into swiftlang:main Mar 24, 2025
5 checks passed
@atrick atrick deleted the enable-addressable branch March 24, 2025 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant