1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s -target-feature +avx | FileCheck %s
4 typedef double __m256d
__attribute__((__vector_size__(32)));
11 // CHECK: define{{.*}} <4 x double> @_ZN5test14testENS_7PR22753E(<4 x double>
12 PR22753
test(PR22753 x
) {
18 typedef double __m128d
__attribute__((__vector_size__(16)));
19 typedef float __m128
__attribute__((__vector_size__(16)));
20 typedef double __m256d
__attribute__((__vector_size__(32)));
21 typedef float __m256
__attribute__((__vector_size__(32)));
33 // CHECK: define{{.*}} <2 x double> @_ZN5test27PR23082ENS_3UU1E(<2 x double>
48 // CHECK: define{{.*}} <4 x double> @_ZN5test27PR23082ENS_3UU2E(<4 x double>
56 __attribute__((__vector_size__(32))) float f1
;
59 // CHECK: define{{.*}} i32 @_ZN5test31fENS_1UE({{.*}}* noundef byval({{.*}}) align 32
60 int f(U u
) { return u
.f2
; }