Skip to content

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Mar 25, 2025

rdar://147872231

When an async typed throwing function had a result type that combined multiple fields into a single register, we created invalid IR, that could lead to compiler crashes or in some cases even miscompiles. With this fix we are mapping the result to the native representation before mapping it to the combined result type.

rdar://147872231

When an async typed throwing function had a result type that combined multiple fields into a single register, we created invalid IR, that could lead to compiler crashes or in some cases even miscompiles. With this fix we are mapping the result to the native representation before mapping it to the combined result type.
@drexin drexin requested a review from rjmccall as a code owner March 25, 2025 21:40
@drexin
Copy link
Contributor Author

drexin commented Mar 25, 2025

@swift-ci smoke test

@drexin
Copy link
Contributor Author

drexin commented Mar 26, 2025

@swift-ci smoke test macos

@drexin drexin merged commit b7943bb into swiftlang:main Mar 27, 2025
3 checks passed
@drexin drexin deleted the wip-147872231 branch March 27, 2025 20:02
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