Skip to content

Fix side-effects for is_unique and begin_cow_mutation - #91414

Open
meg-gupta wants to merge 1 commit into
swiftlang:mainfrom
meg-gupta:isuniqeffect
Open

Fix side-effects for is_unique and begin_cow_mutation#91414
meg-gupta wants to merge 1 commit into
swiftlang:mainfrom
meg-gupta:isuniqeffect

Conversation

@meg-gupta

Copy link
Copy Markdown
Contributor

is_unique and begin_cow_mutation were modelled as a "destroy" of their operand rather than a read trigerring miscompile due to redundant load elimination.

rdar://184389976

`is_unique` and `begin_cow_mutation` were modelled as a "destroy" of their
operand rather than a read trigerring miscompile due to redundant load elimination.

rdar://184389976
@meg-gupta
meg-gupta requested a review from eeckstein as a code owner August 12, 2026 08:13
@meg-gupta

Copy link
Copy Markdown
Contributor Author

@swift-ci test

@meg-gupta

Copy link
Copy Markdown
Contributor Author

@swift-ci apple silicon benchmark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant