Skip to content

Remove UB when used with not aligned data#923

Open
copybara-service[bot] wants to merge 1 commit into
devfrom
test_921518179
Open

Remove UB when used with not aligned data#923
copybara-service[bot] wants to merge 1 commit into
devfrom
test_921518179

Conversation

@copybara-service
Copy link
Copy Markdown

Remove UB when used with not aligned data
Use uint8_t SIMD loads followed by type-level BitCast to satisfy C++ alignment constraints for UBSan.

Use uint8_t SIMD loads followed by type-level BitCast to satisfy C++ alignment constraints for UBSan.

PiperOrigin-RevId: 921518179
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.

0 participants