Skip to content

PredictableMemOpt: Fix source location for injected destroys #65268

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
Apr 19, 2023

Conversation

adrian-prantl
Copy link
Contributor

It's not correct to copy the location from an instruction and turn it into a RegularLocation if the Location was, e.g., a CleanupLocation. It's always safe to use a compilergenerated location instead.

Caught by the dihole verification int the source compatibility suite.

rdar://107984038
(cherry picked from commit 286b2e0)

It's not correct to copy the location from an instruction and turn it into a
RegularLocation if the Location was, e.g., a CleanupLocation. It's always safe
to use a compilergenerated location instead.

Caught by the dihole verification int the source compatibility suite.

rdar://107984038
(cherry picked from commit 286b2e0)
@adrian-prantl adrian-prantl requested a review from a team as a code owner April 18, 2023 22:53
@adrian-prantl
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!

@fredriss fredriss merged commit afe680f into swiftlang:release/5.9 Apr 19, 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