File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -25,16 +25,6 @@ AddressUseKind TransitiveAddressWalker::walk(SILValue projectedAddress) && {
25
25
// When we exit, set the result to be invalidated so we can't use this again.
26
26
SWIFT_DEFER { didInvalidate = true ; };
27
27
28
- // If the projectedAddress is dead, it is itself a leaf use. Since we don't
29
- // have an operand for it, simply bail. Dead projectedAddress is unexpected.
30
- //
31
- // TODO: store_borrow is currently an InteriorPointer with no uses, so we end
32
- // up bailing. It should be in a dependence scope instead. It's not clear why
33
- // it produces an address at all.
34
- if (projectedAddress->use_empty ()) {
35
- return AddressUseKind::PointerEscape;
36
- }
37
-
38
28
StackList<Operand *> worklist (projectedAddress->getFunction ());
39
29
SmallPtrSet<Operand *, 32 > visitedOperands;
40
30
You can’t perform that action at this time.
0 commit comments