-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[MoveChecker] Complete lifetimes before checking. #68342
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
0efb5ec
to
a50b875
Compare
a50b875
to
b8a261f
Compare
Before move-checking values, complete the lifetimes of all the values derived from them via copy, borrow, and move. Collect all such values and their derived transitive values and then complete the lifetimes of each, visiting the instructions which produce them in post-order. Once OSSALifetimeCommpletion runs as part of SILGenCleanup, this code can be deleted.
b8a261f
to
7713eef
Compare
@swift-ci please test |
@swift-ci please test source compatibility |
@swift-ci please benchmark |
Failures in
match failures in baseline: https://ci.swift.org/job/swift-PR-source-compat-suite-macos/1138/artifact/swift-source-compat-suite/
match failures in baseline: https://ci.swift.org/job/swift-main-source-compat-suite-debug/537/artifact/swift-source-compat-suite/ |
LGTM! |
Before move-checking values, complete the lifetimes of all the values derived from them via copy, borrow, move, and phi.
Collect all such values and their derived transitive values and then complete the lifetimes of each, visiting the instructions which produce them in post-order.
Once OSSALifetimeCompletion runs as part of SILGenCleanup, this code can be deleted.