File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7641,7 +7641,7 @@ def ArmAgnosticDocs : Documentation {
76417641The ``__arm_agnostic`` keyword applies to prototyped function types and
76427642affects the function's calling convention for a given state S. This
76437643attribute allows the user to describe a function that preserves S, without
7644- requiring the function to share S with its callers and without the making
7644+ requiring the function to share S with its callers and without making
76457645the assumption that S exists.
76467646
76477647If a function has the ``__arm_agnostic(S)`` attribute and calls a function
Original file line number Diff line number Diff line change @@ -3835,7 +3835,7 @@ def err_sme_unimplemented_za_save_restore : Error<
38353835 "call to a function that shares state other than 'za' from a "
38363836 "function that has live 'za' state requires a spill/fill of ZA, which is not yet "
38373837 "implemented">;
3838- def err_sme_unimplemented_agnostic_new : Error<
3838+ def err_sme_unsupported_agnostic_new : Error<
38393839 "__arm_agnostic(\"sme_za_state\") is not supported together with "
38403840 "__arm_new(\"za\") or __arm_new(\"zt0\")">;
38413841def note_sme_use_preserves_za : Note<
Original file line number Diff line number Diff line change @@ -1341,7 +1341,7 @@ void SemaARM::CheckSMEFunctionDefAttributes(const FunctionDecl *FD) {
13411341 if (const auto *FPT = FD->getType ()->getAs <FunctionProtoType>()) {
13421342 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo ();
13431343 if (EPI.AArch64SMEAttributes & FunctionType::SME_AgnosticZAStateMask)
1344- Diag (FD->getLocation (), diag::err_sme_unimplemented_agnostic_new );
1344+ Diag (FD->getLocation (), diag::err_sme_unsupported_agnostic_new );
13451345 }
13461346 }
13471347
You can’t perform that action at this time.
0 commit comments