[all-commits] [llvm/llvm-project] f444cc: [AArch64][SME] Preserve ZA in agnostic ZA function...
Benjamin Maxwell via All-commits
all-commits at lists.llvm.org
Fri Apr 17 02:37:48 PDT 2026
Branch: refs/heads/release/22.x
Home: https://github.com/llvm/llvm-project
Commit: f444cca96bd5c8cba9e768ee15ebde8d72f37c2a
https://github.com/llvm/llvm-project/commit/f444cca96bd5c8cba9e768ee15ebde8d72f37c2a
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2026-04-17 (Fri, 17 Apr 2026)
Changed paths:
M llvm/lib/Target/AArch64/MachineSMEABIPass.cpp
A llvm/test/CodeGen/AArch64/sme-agnostic-za-without-sme.ll
Log Message:
-----------
[AArch64][SME] Preserve ZA in agnostic ZA functions without +sme (#190141)
`__arm_agnostic("sme_za_state")` does not require +sme, but we must
still preserve ZA in case the function is used with code that makes use
of ZA:
> The use of `__arm_agnostic("sme_za_state")` allows writing functions
> that are compatible with ZA state without having to share ZA state
> with the caller, as required by `__arm_preserves`. The use of this
> attribute does not imply that SME is available.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list