swift icon indicating copy to clipboard operation
swift copied to clipboard

[6.0][IRGen] Fix alignment for imported C types in CVW

Open drexin opened this issue 9 months ago • 1 comments

Explanation: 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. Scope: Compact value witnesses Original PR: https://github.com/apple/swift/pull/73405 Risk: Low, only affects compact value witnesses Testing: Added test that observed the issue before the fix and does not with it. Issue: rdar://127279770 Reviewer: @mikeash

drexin avatar May 03 '24 00:05 drexin

@swift-ci test

drexin avatar May 03 '24 00:05 drexin