Skip to content

Commit 014b155

Browse files
committed
Temporarily disable addresseses in findInnerGuaranteedUses
Because not all OSSA utility fixes have been committed yet.
1 parent 52e1fc2 commit 014b155

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/SIL/Utils/OwnershipUtils.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,16 @@ bool swift::findInnerTransitiveGuaranteedUses(
214214
break;
215215

216216
case OperandOwnership::InteriorPointer:
217+
return false;
218+
219+
#if 0 // FIXME!!! Enable in a following commit that fixes RAUW
217220
// If our base guaranteed value does not have any consuming uses (consider
218221
// function arguments), we need to be sure to include interior pointer
219222
// operands since we may not get a use from a end_scope instruction.
220223
if (!InteriorPointerOperand(use).findTransitiveUses(usePoints)) {
221224
return false;
222225
}
226+
#endif
223227
break;
224228

225229
case OperandOwnership::ForwardingBorrow: {

0 commit comments

Comments
 (0)