Skip to content

Conversation

@meg-gupta
Copy link
Contributor

@meg-gupta meg-gupta commented Dec 20, 2025

Details in commits.

@meg-gupta
Copy link
Contributor Author

@swift-ci test

Non trivial types can become trivial on generic specialization.

OSSA has instructions that are valid for non-trivial types only:
load_borrow/end_borrow, load [copy]/[take], store [init]/[assign], copy_value, destroy_value etc
Transform such instructions to their trivial counterparts while cloning to prevent asserts firing.
@meg-gupta meg-gupta force-pushed the removeborrowoptbailouts branch from a5c0a08 to 166a698 Compare December 22, 2025 19:42
@meg-gupta
Copy link
Contributor Author

@swift-ci test

1 similar comment
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta enabled auto-merge January 2, 2026 07:16
@meg-gupta meg-gupta merged commit 76b3374 into swiftlang:main Jan 2, 2026
4 of 5 checks passed
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