[clang] [Clang][NEON] Add neon target guard to intrinsics (PR #98624)

Maciej Gabka via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 17 04:32:46 PDT 2024


================
@@ -0,0 +1,33 @@
+// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +dotprod  -target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm -target-feature +bf16 -verify -emit-llvm -o - %s
+
+// This test is testing the diagnostics that Clang emits when compiling without '+neon'.
----------------
mgabka wrote:

do we have a positive Sema tests to show that the intrinsics are available when the neon feature is present?

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


More information about the cfe-commits mailing list