Skip to content

Commit 531154c

Browse files
committed
[region-isolation] Ignore deinit_existential_{addr,value}. They do not matter from a region perspective.
1 parent 4b4495b commit 531154c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/SILOptimizer/Analysis/RegionAnalysis.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2344,6 +2344,8 @@ CONSTANT_TRANSLATION(DeallocRefInst, Ignored)
23442344
CONSTANT_TRANSLATION(DeallocStackInst, Ignored)
23452345
CONSTANT_TRANSLATION(DeallocStackRefInst, Ignored)
23462346
CONSTANT_TRANSLATION(DebugValueInst, Ignored)
2347+
CONSTANT_TRANSLATION(DeinitExistentialAddrInst, Ignored)
2348+
CONSTANT_TRANSLATION(DeinitExistentialValueInst, Ignored)
23472349
CONSTANT_TRANSLATION(DestroyAddrInst, Ignored)
23482350
CONSTANT_TRANSLATION(DestroyValueInst, Ignored)
23492351
CONSTANT_TRANSLATION(EndAccessInst, Ignored)
@@ -2454,10 +2456,7 @@ CONSTANT_TRANSLATION(AssignOrInitInst, Unhandled)
24542456
CONSTANT_TRANSLATION(MarkFunctionEscapeInst, Unhandled)
24552457
CONSTANT_TRANSLATION(TestSpecificationInst, Unhandled)
24562458
CONSTANT_TRANSLATION(StoreUnownedInst, Unhandled)
2457-
CONSTANT_TRANSLATION(DeinitExistentialAddrInst, Unhandled)
24582459
CONSTANT_TRANSLATION(PackElementSetInst, Unhandled)
2459-
CONSTANT_TRANSLATION(DeinitExistentialValueInst, Unhandled)
2460-
CONSTANT_TRANSLATION(UnconditionalCheckedCastAddrInst, Unhandled)
24612460

24622461
//===---
24632462
// Apply

0 commit comments

Comments
 (0)