mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
An indirect argument (except `@inout_aliasable`) must not alias with another indirect argument. Now, if we would replace tempAddr with destAddr in ``` apply %f(%tempAddr, %destAddr) : (@in T) -> @out T ``` we would invalidate this rule. This is even true if the called function does not read from destAddr. Fixes a SIL verification error. rdar://145090659
418 B
418 B