Skip to content
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

Fix alignment of wasm loads and stores #272

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

DutChen18
Copy link
Member

Use the alignment from LLVM loads and stores when generating wasm loads and stores, instead of always using the "natural" type alignment. This also bumps the alignment of i64 loads and stores to 8 bytes, which were hardcoded to have 4 byte alignment before.

@alexp-sssup alexp-sssup requested a review from yuri91 December 10, 2024 07:18
@yuri91 yuri91 merged commit 963da16 into master Dec 10, 2024
1 check passed
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