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 812891c commit 042241aCopy full SHA for 042241a
lib/SILOptimizer/Mandatory/MoveOnlyAddressCheckerUtils.cpp
@@ -2052,8 +2052,8 @@ struct GatherUsesVisitor : public TransitiveAddressWalker<GatherUsesVisitor> {
2052
liveness->initializeDef(bai);
2053
liveness->computeSimple();
2054
for (auto *consumingUse : li->getConsumingUses()) {
2055
- if (!liveness->areUsesWithinBoundary(
2056
- {consumingUse},
+ if (!liveness->isWithinBoundary(
+ consumingUse->getUser(),
2057
moveChecker.deba->get(consumingUse->getFunction()))) {
2058
diagnosticEmitter.emitAddressExclusivityHazardDiagnostic(
2059
markedValue, consumingUse->getUser());
0 commit comments