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 6cd1302 commit 04471ffCopy full SHA for 04471ff
lib/SILOptimizer/Mandatory/OSLogOptimization.cpp
@@ -1114,7 +1114,7 @@ static bool hasOnlyStoreUses(SingleValueInstruction *addressInst) {
1114
if (numWritableArguments > 1)
1115
return false;
1116
SILArgumentConvention convention = applySite.getArgumentConvention(*use);
1117
- if (convention == SILArgumentConvention::Indirect_In_Guaranteed ||
+ if (convention == SILArgumentConvention::Indirect_In ||
1118
convention == SILArgumentConvention::Indirect_In_Constant ||
1119
convention == SILArgumentConvention::Indirect_In_Guaranteed) {
1120
if (numWritableArguments > 0)
0 commit comments