File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1484,10 +1484,10 @@ SILBasicBlock::iterator OwnershipReplaceSingleUseHelper::perform() {
14841484// ===----------------------------------------------------------------------===//
14851485
14861486// / Given a phi that has been newly created or converted from terminator
1487- // / results, check for inner guaranteed operands (which do not introduce a
1488- // / borrow scope). This is invalid OSSA because the phi is a reborrow, and all
1489- // / borrow-scope-ending instructions must directly use the BorrowedValue that
1490- // / introduces the scope.
1487+ // / results, check if any of the phi's operands are inner guaranteed values.
1488+ // / This is invalid OSSA because the phi is a reborrow. Like all
1489+ // / borrow-scope-ending instructions a phi must directly use the BorrowedValue
1490+ // / that introduces the scope.
14911491// /
14921492// / Create nested borrow scopes for its operands.
14931493// /
You can’t perform that action at this time.
0 commit comments