[llvm] [AArch64][SME] Handle zeroing ZA and ZT0 in functions with ZT0 state (PR #166361)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 24 05:19:05 PST 2025


================
@@ -406,9 +406,7 @@ FunctionInfo MachineSMEABI::collectNeededZAStates(SMEAttrs SMEFnAttrs) {
 
     if (MBB.isEntryBlock()) {
       // Entry block:
-      Block.FixedEntryState = SMEFnAttrs.hasPrivateZAInterface()
-                                  ? ZAState::CALLER_DORMANT
-                                  : ZAState::ACTIVE;
+      Block.FixedEntryState = ZAState::ENTRY;
----------------
sdesmalen-arm wrote:

Never mind, I understand the change.

https://github.com/llvm/llvm-project/pull/166361


More information about the llvm-commits mailing list