mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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.
64 KiB
64 KiB