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

LLVM crashes on aarch64_be-linux-* for functions taking unusual vector types #21064

Open
alexrp opened this issue Aug 13, 2024 · 2 comments · May be fixed by #21183
Open

LLVM crashes on aarch64_be-linux-* for functions taking unusual vector types #21064

alexrp opened this issue Aug 13, 2024 · 2 comments · May be fixed by #21183
Labels
arch-aarch64 64-bit ARM backend-llvm The LLVM backend outputs an LLVM IR Module. bug Observed behavior contradicts documented or intended behavior upstream An issue with a third party project that Zig uses.
Milestone

Comments

@alexrp
Copy link
Contributor

alexrp commented Aug 13, 2024

Zig Version

eadc0c0

Steps to Reproduce and Observed Behavior

zig test -target aarch64_be-linux-none test/behavior/math.zig --test-cmd qemu-aarch64_be --test-cmd-bin

Upstream bug: llvm/llvm-project#103032

This is just meant as a tracking issue on our side. I consider this bug a blocker for any meaningful aarch64_be progress with LLVM; I eventually gave up trying to disable affected behavior tests and std tests.

Expected Behavior

No LLVM crash.

@alexrp alexrp added the bug Observed behavior contradicts documented or intended behavior label Aug 13, 2024
@Vexu Vexu added upstream An issue with a third party project that Zig uses. arch-aarch64 64-bit ARM backend-llvm The LLVM backend outputs an LLVM IR Module. labels Aug 13, 2024
@Vexu Vexu added this to the 0.16.0 milestone Aug 13, 2024
@alexrp
Copy link
Contributor Author

alexrp commented Aug 19, 2024

Upstream bug has been fixed; I'll resume work on aarch64_be support once we upgrade to LLVM 19.

@alexrp alexrp closed this as completed Aug 19, 2024
@nektro
Copy link
Contributor

nektro commented Aug 19, 2024

i think tracking issues such as this usually stay open until the llvm 19 upgrade is completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-aarch64 64-bit ARM backend-llvm The LLVM backend outputs an LLVM IR Module. bug Observed behavior contradicts documented or intended behavior upstream An issue with a third party project that Zig uses.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants