mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
It can already only accept values with none ownership and the merging of ownership around ownership phis ensure that if we phi this with a partial_apply or the like, we get the appropriate ownership on any such ownership phi values. We are now out of SILGen emitting fewer destroy_value unnecessarily on thin_to_thick functions. This changed some codegen and also forced me to update some tests/fix AutoDiff. I also deleted the DebugInfo test mandatoryinlining-wrongdebugscope.swift since: 1. It was depending on these destroys being there. 2. Given the need to improve the test @aprantl suggested I just eliminate it solving the test failure for me.
5.5 KiB
5.5 KiB