We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54f9cae commit 735faf9Copy full SHA for 735faf9
lib/SILOptimizer/Utils/CanonicalizeOSSALifetime.cpp
@@ -401,7 +401,7 @@ void CanonicalizeOSSALifetime::extendLivenessThroughOverlappingAccess() {
401
continue;
402
}
403
// Stop at the latest use. An earlier end_access does not overlap.
404
- if (blockHasUse && liveness.isInterestingUser(&inst)) {
+ if (blockHasUse && liveness.isInterestingUser(&inst) != PrunedLiveness::NonUser) {
405
break;
406
407
if (endsAccessOverlappingPrunedBoundary(&inst)) {
0 commit comments