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 {
7641
7641
The ``__arm_agnostic`` keyword applies to prototyped function types and
7642
7642
affects the function's calling convention for a given state S. This
7643
7643
attribute 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
7645
7645
the assumption that S exists.
7646
7646
7647
7647
If 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<
3835
3835
"call to a function that shares state other than 'za' from a "
3836
3836
"function that has live 'za' state requires a spill/fill of ZA, which is not yet "
3837
3837
"implemented">;
3838
- def err_sme_unimplemented_agnostic_new : Error<
3838
+ def err_sme_unsupported_agnostic_new : Error<
3839
3839
"__arm_agnostic(\"sme_za_state\") is not supported together with "
3840
3840
"__arm_new(\"za\") or __arm_new(\"zt0\")">;
3841
3841
def 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) {
1341
1341
if (const auto *FPT = FD->getType ()->getAs <FunctionProtoType>()) {
1342
1342
FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo ();
1343
1343
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 );
1345
1345
}
1346
1346
}
1347
1347
You can’t perform that action at this time.
0 commit comments