mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The problematic scenario is that a function receives an @in_guaranteed and @inout parameter where one is a copy of the other value. For example, when appending a container to itself. In this case the optimization removed the copy_addr, resulting in passing the same stack location to both parameters. rdar://problem/47632890
6.0 KiB
6.0 KiB