Skip to content

[IRGen] Forwarded wtable packs when possible. #63588

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

nate-chandler
Copy link
Contributor

Previously wtable packs were never forwarded because pack types consisting of a single element which was itself a pack archetype were never canonicalized into that.

In the forwarding scenario, gepped and loaded from wtable when lowering open_pack_element.

Previously wtable packs were never forwarded because pack types
consisting of a single element which was itself a pack archetype were
never canonicalized into that.

In the forwarding scenario, gepped and loaded from wtable when lowering
open_pack_element.
Moved a few static helpers to the top.
@nate-chandler nate-chandler force-pushed the variadic-generics/irgen/wtable-forwarding branch from a4c53d2 to f707f70 Compare February 11, 2023 02:13
@nate-chandler
Copy link
Contributor Author

@swift-ci please test and merge

@swift-ci swift-ci merged commit 0b58685 into swiftlang:main Feb 11, 2023
@nate-chandler nate-chandler deleted the variadic-generics/irgen/wtable-forwarding branch July 5, 2023 23:39
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