Skip to content

Fix a Cranelift panic on aarch64 vector constants#9482

Merged
fitzgen merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:fix-aarch64-panic
Oct 17, 2024
Merged

Fix a Cranelift panic on aarch64 vector constants#9482
fitzgen merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:fix-aarch64-panic

Conversation

@alexcrichton
Copy link
Copy Markdown
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
@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