Skip to content

Commit 48ca50a

Browse files
authored
Merge pull request #67870 from nate-chandler/sil/20230810/1/fix-memmustinitialize-for-builtins
[SIL] Fix memInstMustInitialize for builtins.
2 parents 8acfbd8 + dfa629a commit 48ca50a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/SILOptimizer/Mandatory/MoveOnlyUtils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ bool noncopyable::memInstMustInitialize(Operand *memOper) {
221221
// `zeroInitializer` with an address operand zeroes out the address operand
222222
return true;
223223
}
224+
return false;
224225
}
225226

226227
#define NEVER_OR_SOMETIMES_LOADABLE_CHECKED_REF_STORAGE(Name, ...) \

0 commit comments

Comments
 (0)