Skip to content

[5.9] Support all BorrowedValueKind in hasPointerEscape(BorrowedValue) api #64711

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

Conversation

meg-gupta
Copy link
Contributor

@meg-gupta meg-gupta commented Mar 29, 2023

Cherry-pick of #64700

#64190 added a new hasPointerEscape(SILValue) which delegates BorrowedValue to hasPointerEscape(BorrowedValue) which previously did not support reborrows.

Add the reborrow support here, and use the updated utility in DCE.

@meg-gupta meg-gupta requested a review from a team as a code owner March 29, 2023 04:43
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta merged commit fecc8a4 into swiftlang:release/5.9 Mar 29, 2023
@AnthonyLatsis AnthonyLatsis added the 🍒 release cherry pick Flag: Release branch cherry picks label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants