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 a Cranelift panic on aarch64 vector constants #9482

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

alexcrichton
Copy link
Member

This commit adds a guard to splat_const lowering on AArch64 to ensure that unsupported sizes don't make their way to the backend to avoid a panic. The included test here currently panics on main when passed to wasmtime compile and succeeds afterwards.

This commit adds a guard to `splat_const` lowering on AArch64 to ensure
that unsupported sizes don't make their way to the backend to avoid a
panic. The included test here currently panics on `main` when passed to
`wasmtime compile` and succeeds afterwards.
@alexcrichton alexcrichton requested review from a team as code owners October 17, 2024 15:41
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team October 17, 2024 15:41
@github-actions github-actions bot added cranelift Issues related to the Cranelift code generator cranelift:area:aarch64 Issues related to AArch64 backend. labels Oct 17, 2024
@fitzgen fitzgen added this pull request to the merge queue Oct 17, 2024
Merged via the queue into bytecodealliance:main with commit 2f361b0 Oct 17, 2024
39 checks passed
@alexcrichton alexcrichton deleted the fix-aarch64-panic branch October 18, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cranelift:area:aarch64 Issues related to AArch64 backend. cranelift Issues related to the Cranelift code generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants