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.
2 parents 49d67fd + 2b70d2d commit df89f81Copy full SHA for df89f81
lib/SILOptimizer/SemanticARC/LoadCopyToLoadBorrowOpt.cpp
@@ -124,7 +124,7 @@ class StorageGuaranteesLoadVisitor
124
// If we have an inout parameter that isn't ever actually written to, return
125
// false.
126
if (!arg->isIndirectResult() &&
127
- arg->getKnownParameterInfo().isIndirectMutating()) {
+ arg->getArgumentConvention().isExclusiveIndirectParameter()) {
128
auto wellBehavedWrites = ctx.addressToExhaustiveWriteListCache.get(arg);
129
if (!wellBehavedWrites.has_value()) {
130
return answer(true);
0 commit comments