Skip to content

[IRGen] alloc_stack may allocate pack metadata. #67567

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 3 commits into from
Jul 28, 2023

Conversation

nate-chandler
Copy link
Contributor

Add alloc_stack to the list of instructions that may allocate pack metadata and make PackArchetypeTypes have the HasConcretePack recursive property.

When it's a tuple containing a pack.
Add the recursive property.
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please test linux platform

Eliminated HasConcretePack and added HasPack and HasPackArchetype.
Renamed the old `hasPack` to `hasAnyPack`; as before, it means that the
type has a parameter pack, a pack, or a pack archetype.
@nate-chandler nate-chandler marked this pull request as ready for review July 27, 2023 20:24
@nate-chandler
Copy link
Contributor Author

@swift-ci please test and merge

@swift-ci swift-ci merged commit 617b25a into swiftlang:main Jul 28, 2023
@nate-chandler nate-chandler deleted the rdar112792831-2 branch September 26, 2023 22:07
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