Skip to content

[6.1] Fix condition forwarding for switch_enum with default in ossa #79030

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
Jan 30, 2025

Conversation

meg-gupta
Copy link
Contributor

Explanation: In ossa, switch_enum's destination accepts an argument. Fixup condition forwarding to correctly forward the enum in this case.
Scope: ConditionForwarding optimization on ossa
Issues: rdar://143042093
Original PRs: #78714
Risk: Low.
Testing: swift ci testing
Reviewers: @eeckstein

In ossa, switch_enum's destination accepts an argument. Fixup
condition forwarding to correctly forward the enum in this case.

Fixes rdar://143042093
@meg-gupta meg-gupta requested a review from a team as a code owner January 29, 2025 23:46
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta changed the title Fix condition forwarding for switch_enum with default in ossa [6.1] Fix condition forwarding for switch_enum with default in ossa Jan 29, 2025
@meg-gupta meg-gupta enabled auto-merge January 30, 2025 00:00
@meg-gupta meg-gupta merged commit 48c0689 into swiftlang:release/6.1 Jan 30, 2025
5 checks passed
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.

2 participants