[clang] [Clang][AArch64] Change SME attributes for shared/new/preserved state. (PR #76971)
Sander de Smalen via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 12 03:47:35 PST 2024
================
@@ -6898,13 +6941,18 @@ at the end of the function.
}];
}
-def ArmSmeNewZADocs : Documentation {
+def ArmNewDocs : Documentation {
let Category = DocCatArmSmeAttributes;
let Content = [{
-The ``__arm_new_za`` keyword applies to function declarations and specifies
-that the function will be set up with a fresh ZA context.
+The ``__arm_new`` keyword applies to function declarations and specifies
+that the function will create a new scope for state S.
+
+The attribute takes string arguments to instruct the compiler which state
+is shared. The supported states for S are:
----------------
sdesmalen-arm wrote:
Done.
https://github.com/llvm/llvm-project/pull/76971
More information about the cfe-commits
mailing list