[clang] [Clang][AArch64] Change SME attributes for shared/new/preserved state. (PR #76971)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 11 08:29:51 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:
----------------
rsandifo-arm wrote:
Looks like a pasto: this attribute is about local state rather than sharing.
https://github.com/llvm/llvm-project/pull/76971
More information about the cfe-commits
mailing list