[all-commits] [llvm/llvm-project] d4d81a: [AArch64][SME2] Extend SMEABIPass to handle functi...
Kerry McLaughlin via All-commits
all-commits at lists.llvm.org
Mon Jan 22 08:30:56 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d4d81acb52bd44681210001c148ac86df8a344f0
https://github.com/llvm/llvm-project/commit/d4d81acb52bd44681210001c148ac86df8a344f0
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
M llvm/lib/Target/AArch64/SMEABIPass.cpp
M llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.cpp
M llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.h
M llvm/test/CodeGen/AArch64/sme-zt0-state.ll
Log Message:
-----------
[AArch64][SME2] Extend SMEABIPass to handle functions with new ZT0 state (#78848)
updateNewZAFunctions is extended to generate the following on entry to a
function with either the "aarch64_pstate_za_new" or "arm_new_zt0"
attribute:
- Private-ZA interface: commit any active lazy-saves & enable PSTATE.ZA.
- "aarch64_pstate_za_new": zero ZA.
- "arm_new_zt0": zero ZT0.
Additionally, PSTATE.ZA should disabled before returning if the function
has a private-ZA interface.
More information about the All-commits
mailing list