Skip to content

Commit 7cb5905

Browse files
committed
Fix up doc and tests [to squash]s
1 parent dbdc487 commit 7cb5905

File tree

3 files changed

+75
-75
lines changed

3 files changed

+75
-75
lines changed

clang/include/clang/Basic/AttrDocs.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6947,8 +6947,8 @@ def ArmNewDocs : Documentation {
69476947
The ``__arm_new`` keyword applies to function declarations and specifies
69486948
that the function will create a new scope for state S.
69496949

6950-
The attribute takes string arguments to instruct the compiler which state
6951-
is shared. The supported states for S are:
6950+
The attribute takes string arguments to instruct the compiler for which state
6951+
to create new scope. The supported states for S are:
69526952

69536953
* ``"za"`` for Matrix Storage (requires SME)
69546954

clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_zero.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void test_svzero_mask_za_2(void) __arm_inout("za") {
6666
// CHECK-CXX-NEXT: tail call void @llvm.aarch64.sme.zero(i32 255)
6767
// CHECK-CXX-NEXT: ret void
6868
//
69-
void test_svzero_za(void) __arm_inout("za") {
69+
void test_svzero_za(void) __arm_out("za") {
7070
svzero_za();
7171
}
7272
//// NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:

0 commit comments

Comments
 (0)