Skip to content

[5.9][IRGen] Use ConditionalDominanceScope in AbstractMetadataAccessor::em… #65163

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 21, 2023

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Apr 13, 2023

…it (#64585)

Cherry-picked from: #64585

  • [IRGen] Use ConditionalDominanceScope in AbstractMetadataAccessor::emit

rdar://103179745

Under certain conditions the missing dominance scope caused a cached witness table ref to be used in a block that it was not available in.

  • Fix target in test

…it (swiftlang#64585)

* [IRGen] Use ConditionalDominanceScope in AbstractMetadataAccessor::emit

rdar://103179745

Under certain conditions the missing dominance scope caused a cached witness table ref to be used in a block that it was not available in.

* Fix target in test
@drexin drexin requested a review from a team as a code owner April 13, 2023 20:59
@drexin
Copy link
Contributor Author

drexin commented Apr 13, 2023

@swift-ci test

@drexin
Copy link
Contributor Author

drexin commented Apr 13, 2023

@tbkka The PR to main was reviewed and approved by @aschwaighofer. Would you mind approving this?

@drexin drexin changed the title [IRGen] Use ConditionalDominanceScope in AbstractMetadataAccessor::em… [5.9][IRGen] Use ConditionalDominanceScope in AbstractMetadataAccessor::em… Apr 13, 2023
@drexin drexin requested a review from tbkka April 21, 2023 20:25
@drexin drexin merged commit b0ed678 into swiftlang:release/5.9 Apr 21, 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 swift 5.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants