-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
Conversation
dd00dea
to
52cd817
Compare
@swift-ci smoke test |
@swift-ci smoke test macOS Platform |
1 similar comment
@swift-ci smoke test macOS Platform |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
lib/SIL/Utils/OwnershipUtils.cpp
Outdated
@@ -751,6 +751,30 @@ BorrowedValue BorrowingOperand::getBorrowIntroducingUserResult() { | |||
llvm_unreachable("covered switch"); | |||
} | |||
|
|||
SILValue BorrowingOperand::getIntroducingUserResult() { |
There was a problem hiding this comment.
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!
52cd817
to
aea6ed2
Compare
@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.
aea6ed2
to
264d86d
Compare
@swift-ci please smoke test and merge |
@swift-ci please smoke test Linux platform |
No description provided.