================ @@ -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); ---------------- sdesmalen-arm wrote:
nit: Rather than passing this everywhere, maybe just cache this locally in the `MachineSMEABI` struct? 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