Skip to content

Removed deinit barrier workaround. #61654

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

Conversation

nate-chandler
Copy link
Contributor

@nate-chandler nate-chandler commented Oct 21, 2022

Previously, to workaround an issue with ShrinkBorrowScope (where it assumed a reasonable definition of isDeinitBarrier), a placeholder version of the function was added. It is now removed by moving the implementation of a version of that predicate back to C++.

@nate-chandler nate-chandler force-pushed the shrink_borrow_scope/handle_barrier_merge_terminators branch from f17d189 to 54a1d94 Compare October 21, 2022 15:35
@nate-chandler nate-chandler force-pushed the shrink_borrow_scope/handle_barrier_merge_terminators branch from 54a1d94 to 435048a Compare October 24, 2022 15:44
Checked that a barrier terminator's successor isn't a merge point.
Previously, to workaround an issue with ShrinkBorrowScope (where it
assumed a reasonable definition of isDeinitBarrier), a placeholder
version of the function was added.  It is now removed by moving the
implementation of a version of that predicate back to C++.
@nate-chandler nate-chandler force-pushed the shrink_borrow_scope/handle_barrier_merge_terminators branch from 435048a to f98917b Compare October 24, 2022 15:47
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler changed the title [ShrinkBorrowScope] Track barrier term successors. Removed deinit barrier workaround. Oct 24, 2022
@nate-chandler nate-chandler merged commit 9c17447 into swiftlang:main Oct 24, 2022
@nate-chandler nate-chandler deleted the shrink_borrow_scope/handle_barrier_merge_terminators branch July 5, 2023 23:37
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