Skip to content

Use AArch64 assembly syntax on macOS with LLVM<22 #8710

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

Merged
merged 4 commits into from
Aug 6, 2025
Merged

Conversation

alexreinking
Copy link
Member

@alexreinking alexreinking commented Aug 5, 2025

Following the discussion on llvm/llvm-project#151330, it was determined that the reason SDOT arguments were missing in the assembly output was that the AArch64InstrFormats table was missing some entries for the Apple/Darwin-specific format.

This PR uses the AArch64 format on older LLVM versions that won't receive the upstream patch.

This fix was derived by reading the upstream patch that fixes this issue: llvm/llvm-project#152111

ATTN @rtzam

Fixes #8697

@alexreinking
Copy link
Member Author

Failures are unrelated.

@alexreinking alexreinking merged commit 27763a1 into main Aug 6, 2025
11 of 19 checks passed
@alexreinking alexreinking deleted the show-sdot-llvm branch August 6, 2025 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SDOT registers not displayed in the ASM generated when compiling with compile_to_conceptual_stmt with HTML output
2 participants