mirror of
https://github.com/apple/swift.git
synced 2026-10-28 21:15:56 +01:00
AccessSummary looks at uses of the begin_access to see if only a single sub-object is access. Ignore an end_cow_mutation_addr on the accessed address, because it has no effect on exclusivity. We now attempt to insert end_cow_mutation_addr on the address projection but AccessSummaryAnalysis should still be able to handle it. Fixes rdar://181348593 (Exclusivity sub-object analysis is defeated by end_cow_mutation_addr)