Skip to content

[MoveOnlyAddressChecker] Don't complete reborrows or their adjacent phis. #73358

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 1 commit into from
May 1, 2024

Conversation

nate-chandler
Copy link
Contributor

@nate-chandler nate-chandler commented Apr 30, 2024

After 874971c, before running address checking, all lifetimes in the function are completed. That doesn't quite work because lifetime completion expects not to encounter reborrows or their adjacent phis.

rdar://127312637

After 874971c, before running address
checking, all lifetimes in the function are completed.  That doesn't
quite work because lifetime completion expects not to encounter
reborrows or their adjacent phis.
@nate-chandler nate-chandler requested a review from kavon as a code owner April 30, 2024 23:52
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler requested a review from atrick April 30, 2024 23:52
Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ClosureLifetimeFixup strikes again

@nate-chandler nate-chandler enabled auto-merge May 1, 2024 03:44
@nate-chandler nate-chandler merged commit bb502c5 into swiftlang:main May 1, 2024
@nate-chandler nate-chandler deleted the rdar127190151 branch May 1, 2024 14:13
nate-chandler added a commit to nate-chandler/swift that referenced this pull request May 16, 2025
Apply the MoveOnlyAddressChecker change from
swiftlang#73358 to the
MoveOnly[Value]Checker.

After 7713eef, before running value
checking, all lifetimes in the function are completed.  That doesn't
quite work because lifetime completion expects not to encounter
reborrows or their adjacent phis.

rdar://151325025
nate-chandler added a commit to nate-chandler/swift that referenced this pull request May 16, 2025
Apply the MoveOnlyAddressChecker change from
swiftlang#73358 to the
MoveOnly[Value]Checker.

After 7713eef, before running value
checking, all lifetimes in the function are completed.  That doesn't
quite work because lifetime completion expects not to encounter
reborrows or their adjacent phis.

rdar://151325025
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