[clang] [llvm] [AArch64] Enable svcompact intrinsic in streaming mode with SME2.2 (PR #151703)

Amina Chabane via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 4 08:39:56 PDT 2025


================
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -triple aarch64-none-linux-gnu \
+// RUN:   -target-feature +sve -target-feature +sme -target-feature +ssve -target-feature +sme2p2 \
+// RUN:   -fsyntax-only -verify %s
+// REQUIRES: aarch64-registered-target
+// expected-no-diagnostics
+
+
+#include <arm_sve.h>
+
+void test_svcompact_streaming(svbool_t pg, svfloat32_t op) __arm_streaming {
+    svcompact(pg, op);
+}
----------------
Amichaxx wrote:

Thanks. I've updated the Sema test.

https://github.com/llvm/llvm-project/pull/151703


More information about the llvm-commits mailing list