[llvm-branch-commits] [llvm] [AArch64][SME] Support agnostic ZA functions in the MachineSMEABIPass (PR #149064)
Benjamin Maxwell via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Sep 3 06:30:23 PDT 2025
================
@@ -200,7 +200,7 @@ struct MachineSMEABI : public MachineFunctionPass {
/// Inserts code to handle changes between ZA states within the function.
/// E.g., ACTIVE -> LOCAL_SAVED will insert code required to save ZA.
- void insertStateChanges();
+ void insertStateChanges(bool IsAgnosticZA);
----------------
MacDue wrote:
I'm just replaced this with `AFI->getSMEFnAttrs().hasAgnosticZAInterface()` rather than having the separate `IsAgnosticZA` parameter. I don't think there will be any other cases that need handling in the near future.
https://github.com/llvm/llvm-project/pull/149064
More information about the llvm-branch-commits
mailing list