================ @@ -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); ---------------- gbossu wrote:
Also, are `IsAgnosticZA` and `!IsAgnosticZA` the two types of functions we'll ever have have to handle? If not, should we already turn this into an enum? https://github.com/llvm/llvm-project/pull/149064 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits