Skip to content

[silgen] Change silgen pattern to use destructure_tuple instead of bo… #19700

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

gottesmm
Copy link
Contributor

@gottesmm gottesmm commented Oct 3, 2018

…rrow + tuple_extract + copy.

rdar://29791263

@gottesmm
Copy link
Contributor Author

gottesmm commented Oct 3, 2018

@swift-ci smoke test

…rrow + tuple_extract + copy.

rdar://29791263
@gottesmm gottesmm force-pushed the pr-ef927a3d187515aa9a630c73d9aeff2bbde00aa5 branch from 66a6657 to dbb3ba7 Compare October 3, 2018 23:08
@gottesmm
Copy link
Contributor Author

gottesmm commented Oct 3, 2018

@swift-ci smoke test

5 similar comments
@gottesmm
Copy link
Contributor Author

gottesmm commented Oct 3, 2018

@swift-ci smoke test

@gottesmm
Copy link
Contributor Author

gottesmm commented Oct 3, 2018

@swift-ci smoke test

@gottesmm
Copy link
Contributor Author

gottesmm commented Oct 3, 2018

@swift-ci smoke test

@gottesmm
Copy link
Contributor Author

gottesmm commented Oct 3, 2018

@swift-ci smoke test

@gottesmm
Copy link
Contributor Author

gottesmm commented Oct 3, 2018

@swift-ci smoke test

Copy link
Contributor

@slavapestov slavapestov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No existing tests exercise switch with ownership?

@gottesmm
Copy link
Contributor Author

gottesmm commented Oct 4, 2018

@slavapestov this code is only conditionally enabled on sil ownership being enabled. Since SILGenPattern is not completely able to work with ownership yet the current switch tests do not run with ownership enabled... so yes.

@gottesmm gottesmm merged commit ef05d6e into swiftlang:master Oct 4, 2018
@gottesmm gottesmm deleted the pr-ef927a3d187515aa9a630c73d9aeff2bbde00aa5 branch October 4, 2018 01:33
Copy link
Contributor

@rjmccall rjmccall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

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