Skip to content

Fixes to utilities used by OSSALifetimeCompletion #65074

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
Apr 13, 2023

Conversation

meg-gupta
Copy link
Contributor

No description provided.

@meg-gupta meg-gupta force-pushed the completelifetimefixes branch from dd00dea to 52cd817 Compare April 11, 2023 20:57
@meg-gupta
Copy link
Contributor Author

@swift-ci smoke test

@meg-gupta
Copy link
Contributor Author

@swift-ci smoke test macOS Platform

1 similar comment
@meg-gupta
Copy link
Contributor Author

@swift-ci smoke test macOS Platform

Copy link
Contributor

@nate-chandler nate-chandler left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -751,6 +751,30 @@ BorrowedValue BorrowingOperand::getBorrowIntroducingUserResult() {
llvm_unreachable("covered switch");
}

SILValue BorrowingOperand::getIntroducingUserResult() {
Copy link
Contributor

@nate-chandler nate-chandler Apr 12, 2023

Choose a reason for hiding this comment

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

Nit: Would getUserResult be good? (Or, what's being introduced?)

Looks like it was updated to getScopeIntroducingUserResult--thanks!

@meg-gupta meg-gupta force-pushed the completelifetimefixes branch from 52cd817 to aea6ed2 Compare April 12, 2023 21:16
@meg-gupta
Copy link
Contributor Author

@swift-ci please smoke test and merge

…gOperand kinds

Not all BorrowingOperand introduce a BorrowedValue. Add a new api to get the defining value
for use in InteriorLivenessVisitor::handleInnerBorrow.
@meg-gupta meg-gupta force-pushed the completelifetimefixes branch from aea6ed2 to 264d86d Compare April 12, 2023 21:42
@meg-gupta
Copy link
Contributor Author

@swift-ci please smoke test and merge

@meg-gupta
Copy link
Contributor Author

@swift-ci please smoke test Linux platform

@meg-gupta meg-gupta merged commit aace459 into swiftlang:main Apr 13, 2023
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