mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Only record an outgoingArgument access when the current allocation is an outgoing argument and the function exiting instruction is ReturnInst. This avoids invalid SIL where we attempt to extend end_access up to an `unwind` but fail to actually materialize that end_access.