Skip to content

[semantic-arc-opts] Teach the pass how to eliminate copies from begin… #26898

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

…_borrow, load_borrow where all users can accept a guaranteed parameter.

I previously implemented this only for functions so I didn't need to use the
linear lifetime checker to determine if all destroys where within the lifetime
of the borrowed value. That was just to be incremental. In this commit, I
unleash the whole optimization.

…_borrow, load_borrow where all users can accept a guaranteed parameter.

I previously implemented this only for functions so I didn't need to use the
linear lifetime checker to determine if all destroys where within the lifetime
of the borrowed value. That was just to be incremental. In this commit, I
unleash the whole optimization.
@gottesmm gottesmm force-pushed the pr-ec34aef279bb7b977ac23243588bb03b3f435c62 branch from 8034828 to e5f1aea Compare August 28, 2019 02:14
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit 5d53c3f into swiftlang:master Aug 28, 2019
@gottesmm gottesmm deleted the pr-ec34aef279bb7b977ac23243588bb03b3f435c62 branch August 28, 2019 05: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.

2 participants