[clang] [Clang][SME] Add IsStreamingOrSVE2p1 (PR #75958)
Kerry McLaughlin via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 20 07:19:29 PST 2023
================
@@ -11,10 +11,16 @@
// RUN: %clang_cc1 -fclang-abi-compat=latest -triple aarch64-none-linux-gnu -target-feature +sve2p1 \
// RUN: -S -disable-O0-optnone -Werror -Wall -o /dev/null %s
// RUN: %clang_cc1 -fclang-abi-compat=latest -triple aarch64-none-linux-gnu -target-feature +sme2 -target-feature +sve \
-// RUN: -S -disable-O0-optnone -Werror -Wall -o /dev/null %s
+// RUN: -S -DTEST_SME2 -disable-O0-optnone -Werror -Wall -o /dev/null %s
#include <arm_sve.h>
+#ifndef TEST_SME2
+#define ATTR
+#else
+#define ATTR __arm_streaming
----------------
kmclaughlin-arm wrote:
Sorry, this was my mistake! You were right to add it as `__arm_streaming` :)
https://github.com/llvm/llvm-project/pull/75958
More information about the cfe-commits
mailing list