mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If the IR representation of a C++ function takes an `SRet` parameter instead of a return value, Swift needs to wrap the corresponding argument with `sret(...)` on call site. This fixes SILOptimizer crashes on arm64. rdar://92963081