[clang] [AArch64][Clang] Add support for __arm_agnostic("sme_za_state") (PR #121788)

Richard Sandiford via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 8 09:32:19 PST 2025


================
@@ -7559,6 +7559,26 @@ The attributes ``__arm_in(S)``, ``__arm_out(S)``, ``__arm_inout(S)`` and
   }];
 }
 
+def ArmAgnosticDocs : Documentation {
+  let Category = DocCatArmSmeAttributes;
+  let Content = [{
+The ``__arm_agnostic`` keyword applies to prototyped function types and
+specifies that the function is agnostic about the given state S and
----------------
rsandifo-arm wrote:

Thanks, the gist of the new wording looks good to me.  I'll leave actual clang developers to do a proper review :-)

https://github.com/llvm/llvm-project/pull/121788


More information about the cfe-commits mailing list