[clang] [llvm] [clang-tools-extra] [Clang][AArch64] Add fix vector types to header into SVE (PR #73258)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 06:28:25 PST 2023


================
@@ -1,5 +1,4 @@
 // RUN: %clang_cc1 %s -triple armv7 -fsyntax-only -verify
 
-typedef __attribute__((neon_vector_type(2))) int int32x2_t; // expected-error{{'neon_vector_type' attribute is not supported on targets missing 'neon' or 'mve'; specify an appropriate -march= or -mcpu=}}
----------------
sdesmalen-arm wrote:

I think this attribute still requires neon, mve, or sve?

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


More information about the llvm-commits mailing list