[clang] 3b3d097 - [Clang] Fix acle_sme_zero.c once more.
Sander de Smalen via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 23 04:14:18 PST 2024
Author: Sander de Smalen
Date: 2024-02-23T12:13:14Z
New Revision: 3b3d0978c334702114131e4dab549aa25b9f0ad4
URL: https://github.com/llvm/llvm-project/commit/3b3d0978c334702114131e4dab549aa25b9f0ad4
DIFF: https://github.com/llvm/llvm-project/commit/3b3d0978c334702114131e4dab549aa25b9f0ad4.diff
LOG: [Clang] Fix acle_sme_zero.c once more.
Added:
Modified:
clang/test/Sema/aarch64-sme-intrinsics/acle_sme_zero.c
Removed:
################################################################################
diff --git a/clang/test/Sema/aarch64-sme-intrinsics/acle_sme_zero.c b/clang/test/Sema/aarch64-sme-intrinsics/acle_sme_zero.c
index 8ea80bc6568fec..a852ffa09c60e5 100644
--- a/clang/test/Sema/aarch64-sme-intrinsics/acle_sme_zero.c
+++ b/clang/test/Sema/aarch64-sme-intrinsics/acle_sme_zero.c
@@ -1,6 +1,8 @@
// REQUIRES: aarch64-registered-target
// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sme -target-feature +sve -fsyntax-only -verify %s
+#include <arm_sme.h>
+
void test_svzero_args(uint64_t m) {
svzero_za(0); // expected-error {{too many arguments to function call, expected 0, have 1}}
svzero_za(m); // expected-error {{too many arguments to function call, expected 0, have 1}}
More information about the cfe-commits
mailing list