1// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s 2 3typedef float float32_t; 4typedef signed char poly8_t; 5typedef short poly16_t; 6typedef unsigned long long uint64_t; 7 8typedef __attribute__((neon_vector_type(2))) int int32x2_t; 9typedef __attribute__((neon_vector_type(4))) int int32x4_t; 10typedef __attribute__((neon_vector_type(1))) uint64_t uint64x1_t; 11typedef __attribute__((neon_vector_type(2))) uint64_t uint64x2_t; 12typedef __attribute__((neon_vector_type(2))) float32_t float32x2_t; 13typedef __attribute__((neon_vector_type(4))) float32_t float32x4_t; 14typedef __attribute__((neon_polyvector_type(16))) poly8_t poly8x16_t; 15typedef __attribute__((neon_polyvector_type(8))) poly16_t poly16x8_t; 16 17// CHECK: 16__simd64_int32_t 18void f1(int32x2_t v) { } 19// CHECK: 17__simd128_int32_t 20void f2(int32x4_t v) { } 21// CHECK: 17__simd64_uint64_t 22void f3(uint64x1_t v) { } 23// CHECK: 18__simd128_uint64_t 24void f4(uint64x2_t v) { } 25// CHECK: 18__simd64_float32_t 26void f5(float32x2_t v) { } 27// CHECK: 19__simd128_float32_t 28void f6(float32x4_t v) { } 29// CHECK: 17__simd128_poly8_t 30void f7(poly8x16_t v) { } 31// CHECK: 18__simd128_poly16_t 32void f8(poly16x8_t v) { } 33