Skip to content

Commit 69d729b

Browse files
committed
expand comment
1 parent 755ead0 commit 69d729b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/lib/Analysis/CaptureTracking.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,9 @@ void llvm::PointerMayBeCaptured(const Value *V, CaptureTracker *Tracker,
458458
continue;
459459
case CaptureTracker::Continue:
460460
// Fall through to passthrough handling, but only if RetCC contains
461-
// additional components that OtherCC does not.
461+
// additional components that OtherCC does not. We assume that a
462+
// capture at this point will be strictly more constraining than a
463+
// later capture from following the return value.
462464
if (capturesNothing(RetCC & ~OtherCC))
463465
continue;
464466
break;

0 commit comments

Comments
 (0)