[clang] [AArch64] Warn when calling a NEON builtin in a streaming function (PR #73672)

Sander de Smalen via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 29 01:14:44 PST 2023


================
@@ -0,0 +1,24 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
+// RUN: %clang_cc1  -triple aarch64-none-linux-gnu -target-feature +sve \
+// RUN:   -target-feature +sme -target-feature +sve2 -target-feature +neon -fsyntax-only -verify %s
+
+// REQUIRES: aarch64-registered-target
+
+#include "arm_neon.h"
+#include "arm_sme_draft_spec_subject_to_change.h"
+#include "arm_sve.h"
----------------
sdesmalen-arm wrote:

I don't think these two includes are necessary.

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


More information about the cfe-commits mailing list