mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
8f1c685b95
The `eliminateDeadLiveRangeCopyValue` did hoist destroys over deinit-barriers. We can eliminate this optimization at all because it's covered e.g. by the copy-propagation pass (which respects deinit-barriers). Fixes a mis-compile rdar://174863412