Skip to content

[6.0][IRGen] Don't try to emit single payload CVW for incompatible multi p… #77076

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
Oct 17, 2024

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Oct 17, 2024

…ayload enums

  • Explanation: There was a missing condition in the branch that caused the compiler to try to emit a single payload enum compact value witness for multi payload enums, when the multi payload enum contained an incompatible case.

  • Scope: Compact value witnesses

  • Issues: rdar://137954177

  • Original PRs: [IRGen] Don't try to emit single payload CVW for incompatible multi p… #77056

  • Risk: Low. Only affects compact value witnesses and the fix is small and tested.

  • Testing: Added unit test covering this issue.

  • Reviewers: @mikeash

…ayload enums

rdar://137954177

There was a missing condition in the branch that caused the compiler to try to emit a single payload enum compact value witness for multi payload enums, when the multi payload enum contained an incompatible case.
@drexin drexin requested a review from a team as a code owner October 17, 2024 16:52
@drexin
Copy link
Contributor Author

drexin commented Oct 17, 2024

@swift-ci test

@drexin drexin changed the title [IRGen] Don't try to emit single payload CVW for incompatible multi p… [6.0][IRGen] Don't try to emit single payload CVW for incompatible multi p… Oct 17, 2024
@drexin drexin added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.0 labels Oct 17, 2024
@drexin drexin merged commit cd8c46f into swiftlang:release/6.0 Oct 17, 2024
5 checks passed
@drexin drexin deleted the wip-137954177-6.0 branch October 17, 2024 23:12
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 6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants