Files
swift-mirror/lib/SIL/IR/SILInstruction.cpp
Nate Chandler 28a1db8dd3 [IRGen] Exiting terminators don't alloc packs.
Function exiting terminators don't allocate on-stack pack metadata
packs.  The packs would have been materialized when the value is
defined.

Fixes a SILVerifier failure resulting from a sequence like
```
alloc_pack_metadata
dealloc_pack_metadata
return
```
resulting from inserting the `alloc_pack_metadata` on behalf of the
return, inserting the `dealloc_pack_metadata` on the dominance frontier,
and fixing up stack nesting.
2023-08-07 12:46:35 -07:00

64 KiB