Merge pull request #35609 from meg-gupta/ossabugs3

Minor bug fixes in SILCombine, Canonicalization and LoadBorrowImmutabilityChecker
This commit is contained in:
Meghana Gupta
2021-01-27 13:55:24 -08:00
committed by GitHub
5 changed files with 56 additions and 5 deletions

View File

@@ -97,6 +97,7 @@ bool GatherWritesVisitor::visitUse(Operand *op, AccessUseType useTy) {
case SILInstructionKind::DeallocBoxInst:
case SILInstructionKind::WitnessMethodInst:
case SILInstructionKind::ExistentialMetatypeInst:
case SILInstructionKind::IsUniqueInst:
return true;
// Known writes...