Skip to content

[6.1.1][SILOptimizer] Prevent devirtualization of call to distributed witness requirements #80637

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

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Apr 8, 2025

Cherry-pick of #80373


(cherry picked from commit 0415b40)

…s requirements

This is a narrow fix, we are going to work on fixing this properly
and allowing both devirtualization and specialization for distributed
requirement witnesses.

Anything that uses an ad-hoc serialization requirement scheme cannot
be devirtualized because that would result in loss of ad-hoc conformance
in new substitution map.

Resolves: swiftlang#79318
Resolves: rdar://146101172
(cherry picked from commit 0415b40)
@ktoso ktoso requested a review from a team as a code owner April 8, 2025 14:38
@ktoso
Copy link
Contributor Author

ktoso commented Apr 8, 2025

@swift-ci please test

@ktoso
Copy link
Contributor Author

ktoso commented Apr 9, 2025

Failure was unrelated: Python/python_lint.swift

@ktoso
Copy link
Contributor Author

ktoso commented Apr 9, 2025

@swift-ci please test macOS

@ktoso
Copy link
Contributor Author

ktoso commented Apr 10, 2025

Pending on #80699 which will unbreak CI

@ktoso
Copy link
Contributor Author

ktoso commented Apr 10, 2025

@swift-ci please test macOS

@ktoso ktoso enabled auto-merge April 10, 2025 12:32
@ktoso ktoso merged commit 5be27c3 into swiftlang:release/6.1.1 Apr 10, 2025
5 checks passed
@ktoso ktoso deleted the pick-6c2be2b88d1407641504a976db160fd4907d0ec1 branch April 10, 2025 22:04
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.

3 participants