mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When replacing an `enum` - `unchecked_enum_data` pair and the enum's operand is another non-trivial enum which is constructed with a trivial payload, and this happens in different basic blocks, we need to insert a compensating `destroy_value`. Fixes a verifier crash rdar://139787167
29 KiB
29 KiB