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 9429514 commit bc50837Copy full SHA for bc50837
lib/SIL/Verifier/SILOwnershipVerifier.cpp
@@ -207,9 +207,9 @@ bool SILValueOwnershipChecker::gatherNonGuaranteedUsers(
207
for (auto *op : value->getUses()) {
208
auto *user = op->getUser();
209
210
- // If this op is a type dependent operand, skip it. It is not interesting
+ // For example, type dependent operands are non-use. It is not interesting
211
// from an ownership perspective.
212
- if (user->isTypeDependentOperand(*op))
+ if (op->getOperandOwnership() == OperandOwnership::NonUse)
213
continue;
214
215
// First check if this recursive use is compatible with our values ownership
0 commit comments