mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
A destroy_addr also involves a read from the address. It's equivalent to a `%x = load [take]` and `destroy_value %x`. It's also a write, because the stored value is not available anymore after the destroy. Fixes a compiler crash in SILMem2Reg. rdar://103879105
20 KiB
20 KiB