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 0b2a58d commit 9a6feebCopy full SHA for 9a6feeb
lib/SILOptimizer/Transforms/SimplifyCFG.cpp
@@ -2319,6 +2319,10 @@ bool SimplifyCFG::simplifyUnreachableBlock(UnreachableInst *UI) {
2319
case SILInstructionKind::StrongReleaseInst:
2320
case SILInstructionKind::RetainValueInst:
2321
case SILInstructionKind::ReleaseValueInst:
2322
+ case SILInstructionKind::CopyValueInst:
2323
+ case SILInstructionKind::DestroyValueInst:
2324
+ case SILInstructionKind::BeginBorrowInst:
2325
+ case SILInstructionKind::EndBorrowInst:
2326
break;
2327
// We can only ignore a dealloc_stack instruction if we can ignore all
2328
// instructions in the block.
0 commit comments