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 95f46ac commit 83b9916Copy full SHA for 83b9916
lib/SILOptimizer/Mandatory/OSLogOptimization.cpp
@@ -313,6 +313,7 @@ static bool isSILValueFoldable(SILValue value) {
313
return (!silType.isAddress() && !isa<LiteralInst>(definingInst) &&
314
!isa<LoadBorrowInst>(definingInst) &&
315
!isa<BeginBorrowInst>(definingInst) &&
316
+ !isa<MoveValueInst>(definingInst) &&
317
!isa<CopyValueInst>(definingInst) &&
318
(isFoldableIntOrBool(value, astContext) ||
319
isFoldableString(value, astContext) ||
0 commit comments