Skip to content

Conversation

@eeckstein
Copy link
Contributor

Allow two identical debug variables have different types if the types are or contain local archetypes. When cloning SIL (e.g. in LoopUnroll) local archetypes are uniqued and therefore distinct in cloned instructions.

Fixes a SIL verification error
#84899
rdar://162660981

Allow two identical debug variables have different types if the types are or contain local archetypes.
When cloning SIL (e.g. in LoopUnroll) local archetypes are uniqued and therefore distinct in cloned instructions.

Fixes a SIL verification error
swiftlang#84899
rdar://162660981
@eeckstein eeckstein requested a review from jckarter as a code owner October 16, 2025 05:15
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@eeckstein eeckstein merged commit b1774aa into swiftlang:main Oct 16, 2025
3 checks passed
@eeckstein eeckstein deleted the fix-debugvar-verification branch October 16, 2025 10:58
@ktoso
Copy link
Contributor

ktoso commented Oct 20, 2025

Great, thank you!

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