Skip to content

[silgen] Make ensurePlusOne emit copies even when guaranteed normal a… #14571

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

…rguments is not enabled.

I want to use this to fix issues around us forwarding +0 values into memory.
These fixes are good even from the perspective of normal compilation.

rdar://34222540


This fixes some of the issues in #14566 since I used ensurePlusOne to fix the exposed issues there
in emitForceInto.

…rguments is not enabled.

I want to use this to fix issues around us forwarding +0 values into memory.
These fixes are good even from the perspective of normal compilation.

rdar://34222540
@gottesmm
Copy link
Contributor Author

This only introduces new copies where we didn't already have something at +1.

@gottesmm
Copy link
Contributor Author

@swift-ci test

@gottesmm
Copy link
Contributor Author

@swift-ci test source compatibility

@gottesmm
Copy link
Contributor Author

@swift-ci test linux platform

1 similar comment
@gottesmm
Copy link
Contributor Author

@swift-ci test linux platform

@gottesmm
Copy link
Contributor Author

@swift-ci test source compatibility

1 similar comment
@gottesmm
Copy link
Contributor Author

@swift-ci test source compatibility

@gottesmm gottesmm merged commit 93c0fa6 into swiftlang:master Feb 13, 2018
@gottesmm gottesmm deleted the pr-ca8515b7986b253bb61e072ffb0e864a328f5223 branch February 13, 2018 21:03
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