Skip to content

[6.2] Disable retain and release sinking when rc root values are ~Copyable #82974

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

Open
wants to merge 1 commit into
base: release/6.2
Choose a base branch
from

Conversation

meg-gupta
Copy link
Contributor

Explanation: Retain and release sinking can move retain and release operations from projections to root values. This is problematic if the root is non copyable. This PR avoids this.

Main PR: #82964

Scope: Affects non-copyable types

Risk: Low. Disabling an invalid optimization

Reviewer: @nate-chandler

Issue: Encountered this issue while looking at #82813

Testing: CI testing

@meg-gupta meg-gupta requested a review from a team as a code owner July 10, 2025 23:15
@meg-gupta meg-gupta requested a review from tbkka July 10, 2025 23:15
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta
Copy link
Contributor Author

@swift-ci test linux platform

@meg-gupta meg-gupta enabled auto-merge July 11, 2025 03:19
@meg-gupta
Copy link
Contributor Author

@swift-ci test linux platform

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.

2 participants