Skip to content

SimplifyApply: don't do the raw-enum comparison optimization for custom RawRepresentable enums #81830

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 2 commits into from
May 29, 2025

Conversation

eeckstein
Copy link
Contributor

Because we don't know what the custom rawValue can do.

Fixes a miscompile
rdar://152143111

eeckstein added 2 commits May 29, 2025 08:12
…om RawRepresentable enums

Because we don't know what the custom `rawValue` can do.

Fixes a miscompile
rdar://152143111
@eeckstein
Copy link
Contributor Author

@swift-ci test

@eeckstein eeckstein enabled auto-merge May 29, 2025 06:20
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@eeckstein eeckstein requested review from nate-chandler and removed request for xedin, slavapestov and hborla May 29, 2025 06:47
@eeckstein eeckstein merged commit d29da0a into swiftlang:main May 29, 2025
4 of 5 checks passed
@eeckstein eeckstein deleted the fix-simplify-apply branch May 30, 2025 10:26
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.

1 participant