Skip to content

Conversation

@meg-gupta
Copy link
Contributor

@meg-gupta meg-gupta commented Jul 6, 2023

Description: Instead of just inserting dealloc_stack on seeing a destroy_value for no escape closures. Go over all the lifetime ends of a partial_apply [on_stack] to insert dealloc_stack This ensures we don't miss cases where there is no destroying consuming of the no escape closures.

Original PR: #65780

Testing: Added unit tests

Resolves: rdar://111810214

…ng to non-OSSA

Instead of just inserting dealloc_stack on seeing a destroy_value for no escape closures.
Go over all the lifetime ends of a partial_apply [on_stack] to insert dealloc_stack
This ensures we don't miss cases where there is no destroying consuming of the no escape closures.
@meg-gupta meg-gupta requested a review from a team as a code owner July 6, 2023 17:16
@meg-gupta
Copy link
Contributor Author

@swift-ci test

Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

LGTM

@meg-gupta meg-gupta merged commit 18d8d9b into swiftlang:release/5.9 Jul 10, 2023
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.

4 participants