Skip to content

[REFACTOR][LLVM] Express AArch64 SME state as function attributes - #20568

Merged
tqchen merged 1 commit into
apache:mainfrom
tqchen:task608-aarch64-pstate-attributes
Oct 6, 2026
Merged

tqchen merged 1 commit into
apache:mainfrom
tqchen:task608-aarch64-pstate-attributes

Conversation

@tqchen

@tqchen tqchen commented Oct 6, 2026

Copy link
Copy Markdown
Member

AArch64 streaming-mode and ZA policies apply to generated functions. Express them with the aarch64_pstate_sm and aarch64_pstate_za PrimFunc attributes instead of statement pragmas.

Apply the attributes to native functions and outlined packed compute functions while retaining the packed wrapper ABI. Translate the ZA new/shared policy names for LLVM 19 and newer, preserving the legacy private interface for the preserved policy.

@tqchen
tqchen merged commit 42c3faf into apache:main Oct 6, 2026
8 checks 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