Skip to content

Commit 18c6484

Browse files
committed
Fix thinko
(cherry picked from commit 68627db)
1 parent 0ee4eb7 commit 18c6484

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/SILOptimizer/Mandatory/MoveKillsCopyableAddressesChecker.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,10 @@ bool ClosureArgDataflowState::performLivenessDataflow(
751751
for (unsigned i : indices(livenessWorklist)) {
752752
auto *&user = livenessWorklist[i];
753753

754+
// If our use is in the first block, then we are done with this user. Set
755+
// the found single liveness use flag and continue!
754756
if (frontBlock == user->getParent()) {
757+
foundSingleLivenessUse = true;
755758
continue;
756759
}
757760

0 commit comments

Comments
 (0)