Skip to content

Prepare SIL type dependencies for multi-definition instructions #62547

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
Dec 13, 2022

Conversation

rjmccall
Copy link
Contributor

An initial step to the open_pack_element work

@rjmccall rjmccall force-pushed the sil-type-dep-refactors branch from ef9fe8e to e676f8a Compare December 13, 2022 05:06
Should be NFC in impact, but some of the existing patterns can produce
redundant dependencies in probably-obscure cases, so it's not purely a
refactor.
I've also fixed this so that it should work on instructions that
define multiple values.  Someday we'll change all the open_existential
instructions to produce different values for the type dependency and
the value result; today is not that day, though.
@rjmccall rjmccall force-pushed the sil-type-dep-refactors branch from 0624f02 to f524f3d Compare December 13, 2022 18:28
@rjmccall
Copy link
Contributor Author

@swift-ci Please smoke test

@rjmccall rjmccall merged commit b481d05 into swiftlang:main Dec 13, 2022
@rjmccall rjmccall deleted the sil-type-dep-refactors branch December 13, 2022 23:09
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