Skip to content

IRGen: Opaque type descriptor and nested type fixes for -unavailable-decl-optimization #64808

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

Conversation

tshortli
Copy link
Contributor

Avoid emitting IR for opaque type descriptors and nested types in extensions when -unavailable-decl-optimization=complete is specified.

Also, factor -unavailable-decl-optimization tests into finer-grained files to make it easier to debug and understand the tests.

Resolves rdar://107425181

@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli force-pushed the unavailable-opaque-type-optimization branch from 9d95a41 to cfe9ddd Compare March 31, 2023 16:36
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli marked this pull request as ready for review March 31, 2023 16:37
@tshortli tshortli merged commit 69f769f into swiftlang:main Mar 31, 2023
@tshortli tshortli deleted the unavailable-opaque-type-optimization branch March 31, 2023 20:58
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