Skip to content

Conversation

eeckstein
Copy link
Contributor

The explicit_copy_value and explicit_copy_addr instructions are only used for non-copyable diagnostics in the mandatory pipeline. After that we can replace them by their non-explicit counterparts so that optimizations (which only know of copy_value and copy_addr) can do their work.

rdar://159039552

@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@meg-gupta
Copy link
Contributor

LGTM otherwise

@eeckstein eeckstein force-pushed the simplify-explicit-copy branch from eeba50e to e7f8691 Compare September 4, 2025 15:48
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@eeckstein eeckstein enabled auto-merge September 4, 2025 15:50
…h their non-explicit counterparts

The `explicit_copy_value` and `explicit_copy_addr` instructions are only used for non-copyable diagnostics in the mandatory pipeline.
After that we can replace them by their non-explicit counterparts so that optimizations (which only know of `copy_value` and `copy_addr`) can do their work.

rdar://159039552
@eeckstein eeckstein force-pushed the simplify-explicit-copy branch from e7f8691 to 844217d Compare September 4, 2025 17:41
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@eeckstein eeckstein merged commit 2b6565d into swiftlang:main Sep 4, 2025
3 checks passed
@eeckstein eeckstein deleted the simplify-explicit-copy branch September 5, 2025 05:38
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.

2 participants