mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[LVA] Update ignore instructions RLE and DSE.
RLE can ignore end_access, set_deallocating, and dealloc_ref instructions. DSE can ignore end_access and set_deallocating.
This commit is contained in:
@@ -160,6 +160,9 @@ static bool isRLEInertInstruction(SILInstruction *Inst) {
|
||||
case SILInstructionKind::IsEscapingClosureInst:
|
||||
case SILInstructionKind::IsUniqueInst:
|
||||
case SILInstructionKind::FixLifetimeInst:
|
||||
case SILInstructionKind::EndAccessInst:
|
||||
case SILInstructionKind::SetDeallocatingInst:
|
||||
case SILInstructionKind::DeallocRefInst:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user