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.
2 parents cfa0d63 + 735faf9 commit 8eee0ffCopy full SHA for 8eee0ff
lib/SILOptimizer/Utils/CanonicalizeOSSALifetime.cpp
@@ -402,7 +402,7 @@ void CanonicalizeOSSALifetime::extendLivenessThroughOverlappingAccess() {
402
continue;
403
}
404
// Stop at the latest use. An earlier end_access does not overlap.
405
- if (blockHasUse && liveness.isInterestingUser(&inst)) {
+ if (blockHasUse && liveness.isInterestingUser(&inst) != PrunedLiveness::NonUser) {
406
break;
407
408
if (endsAccessOverlappingPrunedBoundary(&inst)) {
0 commit comments