Merge remote-tracking branch 'origin/master' into master-next

This commit is contained in:
swift_jenkins
2020-03-24 07:20:09 -07:00
10 changed files with 446 additions and 629 deletions

View File

@@ -965,6 +965,11 @@ bool CSE::canHandle(SILInstruction *Inst) {
if (isLazyPropertyGetter(AI))
return true;
if (SILFunction *callee = AI->getReferencedFunctionOrNull()) {
if (callee->isGlobalInit())
return true;
}
return false;
}