Skip to content

[IRGen] Fix alignment for imported C types in CVW #73405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 3, 2024

Conversation

drexin
Copy link
Contributor

@drexin drexin commented May 3, 2024

rdar://127279770

When an imported C type is over or under aligned, we did not use the alignment of the type, but computed the maximum alignment of its components, causing alignment issues in compact value witnesses.

rdar://127279770

When an imported C type is over or under aligned, we did not use the alignment of the type, but computed the maximum alignment of its components, causing alignment issues in compact value witnesses.
@drexin
Copy link
Contributor Author

drexin commented May 3, 2024

@swift-ci smoke test

@drexin drexin merged commit 6fdaea5 into swiftlang:main May 3, 2024
@drexin drexin deleted the wip-127279770 branch May 3, 2024 05:37
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