Skip to content

Conversation

@meg-gupta
Copy link
Contributor

@meg-gupta meg-gupta commented Oct 21, 2025

SILGen inserts mark_unresolved_noncopyable_value at the introducer in some cases and at uses in other cases. This inconsistency can causes insertion of a redundant mark* instruction which crashes the move-only checker.

This PR avoids inserting a redundant mark* instruction.

Sometimes mark_unresolved_noncopyable_value is inserted at the introducer and
sometimes at use. Avoid adding a redundant mark* instruction to avoid a
crash in the move-only checker.
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta
Copy link
Contributor Author

I included this fix in #85040

@meg-gupta meg-gupta closed this Oct 23, 2025
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