Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / aarch64-mangle-sve-vectors.cpp
blob75e24c1c902510332a14eb8220249b18276cd851
1 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 3
2 // RUN: %clang_cc1 -triple aarch64-none-linux-gnu %s -emit-llvm -o - \
3 // RUN: -target-feature +sve,+bf16 | FileCheck %s
4 // RUN: %clang_cc1 -triple aarch64-none-linux-gnu %s -emit-llvm -o - \
5 // RUN: -target-feature +sve,+bf16 -fclang-abi-compat=17 | FileCheck %s --check-prefix=COMPAT_17
7 void f(__SVInt8_t, __SVInt8_t);
8 void f(__SVInt16_t, __SVInt16_t);
9 void f(__SVInt16_t, __SVInt16_t);
10 void f(__SVInt32_t, __SVInt32_t);
11 void f(__SVInt64_t, __SVInt64_t);
12 void f(__SVUint8_t, __SVUint8_t);
13 void f(__SVUint16_t, __SVUint16_t);
14 void f(__SVUint32_t, __SVUint32_t);
15 void f(__SVUint64_t, __SVUint64_t);
16 void f(__SVFloat16_t, __SVFloat16_t);
17 void f(__SVFloat32_t, __SVFloat32_t);
18 void f(__SVFloat64_t, __SVFloat64_t);
19 void f(__SVBfloat16_t, __SVBfloat16_t);
20 void f(__SVBool_t, __SVBool_t);
21 void f(__SVCount_t, __SVCount_t);
23 void f(__clang_svint8x2_t, __clang_svint8x2_t);
24 void f(__clang_svint8x3_t, __clang_svint8x3_t);
25 void f(__clang_svint8x4_t, __clang_svint8x4_t);
26 void f(__clang_svint16x2_t, __clang_svint16x2_t);
27 void f(__clang_svint16x3_t, __clang_svint16x3_t);
28 void f(__clang_svint16x4_t, __clang_svint16x4_t);
29 void f(__clang_svint32x2_t, __clang_svint32x2_t);
30 void f(__clang_svint32x3_t, __clang_svint32x3_t);
31 void f(__clang_svint32x4_t, __clang_svint32x4_t);
32 void f(__clang_svint64x2_t, __clang_svint64x2_t);
33 void f(__clang_svint64x3_t, __clang_svint64x3_t);
34 void f(__clang_svint64x4_t, __clang_svint64x4_t);
35 void f(__clang_svuint8x2_t, __clang_svuint8x2_t);
36 void f(__clang_svuint8x3_t, __clang_svuint8x3_t);
37 void f(__clang_svuint8x4_t, __clang_svuint8x4_t);
38 void f(__clang_svuint16x2_t, __clang_svuint16x2_t);
39 void f(__clang_svuint16x3_t, __clang_svuint16x3_t);
40 void f(__clang_svuint16x4_t, __clang_svuint16x4_t);
41 void f(__clang_svuint32x2_t, __clang_svuint32x2_t);
42 void f(__clang_svuint32x3_t, __clang_svuint32x3_t);
43 void f(__clang_svuint32x4_t, __clang_svuint32x4_t);
44 void f(__clang_svuint64x2_t, __clang_svuint64x2_t);
45 void f(__clang_svuint64x3_t, __clang_svuint64x3_t);
46 void f(__clang_svuint64x4_t, __clang_svuint64x4_t);
47 void f(__clang_svfloat16x2_t, __clang_svfloat16x2_t);
48 void f(__clang_svfloat16x3_t, __clang_svfloat16x3_t);
49 void f(__clang_svfloat16x4_t, __clang_svfloat16x4_t);
50 void f(__clang_svfloat32x2_t, __clang_svfloat32x2_t);
51 void f(__clang_svfloat32x3_t, __clang_svfloat32x3_t);
52 void f(__clang_svfloat32x4_t, __clang_svfloat32x4_t);
53 void f(__clang_svfloat64x2_t, __clang_svfloat64x2_t);
54 void f(__clang_svfloat64x3_t, __clang_svfloat64x3_t);
55 void f(__clang_svfloat64x4_t, __clang_svfloat64x4_t);
56 void f(__clang_svbfloat16x2_t, __clang_svbfloat16x2_t);
57 void f(__clang_svbfloat16x3_t, __clang_svbfloat16x3_t);
58 void f(__clang_svbfloat16x4_t, __clang_svbfloat16x4_t);
59 void f(__clang_svboolx2_t, __clang_svboolx2_t);
60 void f(__clang_svboolx4_t, __clang_svboolx4_t);
62 // CHECK-LABEL: define dso_local void @_Z3foov(
63 // CHECK-SAME: ) #[[ATTR0:[0-9]+]] {
64 // CHECK-NEXT: entry:
65 // CHECK-NEXT: call void @_Z1fu10__SVInt8_tS_(<vscale x 16 x i8> zeroinitializer, <vscale x 16 x i8> zeroinitializer)
66 // CHECK-NEXT: call void @_Z1fu11__SVInt16_tS_(<vscale x 8 x i16> zeroinitializer, <vscale x 8 x i16> zeroinitializer)
67 // CHECK-NEXT: call void @_Z1fu11__SVInt16_tS_(<vscale x 8 x i16> zeroinitializer, <vscale x 8 x i16> zeroinitializer)
68 // CHECK-NEXT: call void @_Z1fu11__SVInt32_tS_(<vscale x 4 x i32> zeroinitializer, <vscale x 4 x i32> zeroinitializer)
69 // CHECK-NEXT: call void @_Z1fu11__SVInt64_tS_(<vscale x 2 x i64> zeroinitializer, <vscale x 2 x i64> zeroinitializer)
70 // CHECK-NEXT: call void @_Z1fu11__SVUint8_tS_(<vscale x 16 x i8> zeroinitializer, <vscale x 16 x i8> zeroinitializer)
71 // CHECK-NEXT: call void @_Z1fu12__SVUint16_tS_(<vscale x 8 x i16> zeroinitializer, <vscale x 8 x i16> zeroinitializer)
72 // CHECK-NEXT: call void @_Z1fu12__SVUint32_tS_(<vscale x 4 x i32> zeroinitializer, <vscale x 4 x i32> zeroinitializer)
73 // CHECK-NEXT: call void @_Z1fu12__SVUint64_tS_(<vscale x 2 x i64> zeroinitializer, <vscale x 2 x i64> zeroinitializer)
74 // CHECK-NEXT: call void @_Z1fu13__SVFloat16_tS_(<vscale x 8 x half> zeroinitializer, <vscale x 8 x half> zeroinitializer)
75 // CHECK-NEXT: call void @_Z1fu13__SVFloat32_tS_(<vscale x 4 x float> zeroinitializer, <vscale x 4 x float> zeroinitializer)
76 // CHECK-NEXT: call void @_Z1fu13__SVFloat64_tS_(<vscale x 2 x double> zeroinitializer, <vscale x 2 x double> zeroinitializer)
77 // CHECK-NEXT: call void @_Z1fu14__SVBfloat16_tS_(<vscale x 8 x bfloat> zeroinitializer, <vscale x 8 x bfloat> zeroinitializer)
78 // CHECK-NEXT: call void @_Z1fu10__SVBool_tS_(<vscale x 16 x i1> zeroinitializer, <vscale x 16 x i1> zeroinitializer)
79 // CHECK-NEXT: call void @_Z1fu11__SVCount_tS_(target("aarch64.svcount") zeroinitializer, target("aarch64.svcount") zeroinitializer)
80 // CHECK-NEXT: call void @_Z1f10svint8x2_tS_(<vscale x 32 x i8> zeroinitializer, <vscale x 32 x i8> zeroinitializer)
81 // CHECK-NEXT: call void @_Z1f10svint8x3_tS_(<vscale x 48 x i8> zeroinitializer, <vscale x 48 x i8> zeroinitializer)
82 // CHECK-NEXT: call void @_Z1f10svint8x4_tS_(<vscale x 64 x i8> zeroinitializer, <vscale x 64 x i8> zeroinitializer)
83 // CHECK-NEXT: call void @_Z1f11svint16x2_tS_(<vscale x 16 x i16> zeroinitializer, <vscale x 16 x i16> zeroinitializer)
84 // CHECK-NEXT: call void @_Z1f11svint16x3_tS_(<vscale x 24 x i16> zeroinitializer, <vscale x 24 x i16> zeroinitializer)
85 // CHECK-NEXT: call void @_Z1f11svint16x4_tS_(<vscale x 32 x i16> zeroinitializer, <vscale x 32 x i16> zeroinitializer)
86 // CHECK-NEXT: call void @_Z1f11svint32x2_tS_(<vscale x 8 x i32> zeroinitializer, <vscale x 8 x i32> zeroinitializer)
87 // CHECK-NEXT: call void @_Z1f11svint32x3_tS_(<vscale x 12 x i32> zeroinitializer, <vscale x 12 x i32> zeroinitializer)
88 // CHECK-NEXT: call void @_Z1f11svint32x4_tS_(<vscale x 16 x i32> zeroinitializer, <vscale x 16 x i32> zeroinitializer)
89 // CHECK-NEXT: call void @_Z1f11svint64x2_tS_(<vscale x 4 x i64> zeroinitializer, <vscale x 4 x i64> zeroinitializer)
90 // CHECK-NEXT: call void @_Z1f11svint64x3_tS_(<vscale x 6 x i64> zeroinitializer, <vscale x 6 x i64> zeroinitializer)
91 // CHECK-NEXT: call void @_Z1f11svint64x4_tS_(<vscale x 8 x i64> zeroinitializer, <vscale x 8 x i64> zeroinitializer)
92 // CHECK-NEXT: call void @_Z1f11svuint8x2_tS_(<vscale x 32 x i8> zeroinitializer, <vscale x 32 x i8> zeroinitializer)
93 // CHECK-NEXT: call void @_Z1f11svuint8x3_tS_(<vscale x 48 x i8> zeroinitializer, <vscale x 48 x i8> zeroinitializer)
94 // CHECK-NEXT: call void @_Z1f11svuint8x4_tS_(<vscale x 64 x i8> zeroinitializer, <vscale x 64 x i8> zeroinitializer)
95 // CHECK-NEXT: call void @_Z1f12svuint16x2_tS_(<vscale x 16 x i16> zeroinitializer, <vscale x 16 x i16> zeroinitializer)
96 // CHECK-NEXT: call void @_Z1f12svuint16x3_tS_(<vscale x 24 x i16> zeroinitializer, <vscale x 24 x i16> zeroinitializer)
97 // CHECK-NEXT: call void @_Z1f12svuint16x4_tS_(<vscale x 32 x i16> zeroinitializer, <vscale x 32 x i16> zeroinitializer)
98 // CHECK-NEXT: call void @_Z1f12svuint32x2_tS_(<vscale x 8 x i32> zeroinitializer, <vscale x 8 x i32> zeroinitializer)
99 // CHECK-NEXT: call void @_Z1f12svuint32x3_tS_(<vscale x 12 x i32> zeroinitializer, <vscale x 12 x i32> zeroinitializer)
100 // CHECK-NEXT: call void @_Z1f12svuint32x4_tS_(<vscale x 16 x i32> zeroinitializer, <vscale x 16 x i32> zeroinitializer)
101 // CHECK-NEXT: call void @_Z1f12svuint64x2_tS_(<vscale x 4 x i64> zeroinitializer, <vscale x 4 x i64> zeroinitializer)
102 // CHECK-NEXT: call void @_Z1f12svuint64x3_tS_(<vscale x 6 x i64> zeroinitializer, <vscale x 6 x i64> zeroinitializer)
103 // CHECK-NEXT: call void @_Z1f12svuint64x4_tS_(<vscale x 8 x i64> zeroinitializer, <vscale x 8 x i64> zeroinitializer)
104 // CHECK-NEXT: call void @_Z1f13svfloat16x2_tS_(<vscale x 16 x half> zeroinitializer, <vscale x 16 x half> zeroinitializer)
105 // CHECK-NEXT: call void @_Z1f13svfloat16x3_tS_(<vscale x 24 x half> zeroinitializer, <vscale x 24 x half> zeroinitializer)
106 // CHECK-NEXT: call void @_Z1f13svfloat16x4_tS_(<vscale x 32 x half> zeroinitializer, <vscale x 32 x half> zeroinitializer)
107 // CHECK-NEXT: call void @_Z1f13svfloat32x2_tS_(<vscale x 8 x float> zeroinitializer, <vscale x 8 x float> zeroinitializer)
108 // CHECK-NEXT: call void @_Z1f13svfloat32x3_tS_(<vscale x 12 x float> zeroinitializer, <vscale x 12 x float> zeroinitializer)
109 // CHECK-NEXT: call void @_Z1f13svfloat32x4_tS_(<vscale x 16 x float> zeroinitializer, <vscale x 16 x float> zeroinitializer)
110 // CHECK-NEXT: call void @_Z1f13svfloat64x2_tS_(<vscale x 4 x double> zeroinitializer, <vscale x 4 x double> zeroinitializer)
111 // CHECK-NEXT: call void @_Z1f13svfloat64x3_tS_(<vscale x 6 x double> zeroinitializer, <vscale x 6 x double> zeroinitializer)
112 // CHECK-NEXT: call void @_Z1f13svfloat64x4_tS_(<vscale x 8 x double> zeroinitializer, <vscale x 8 x double> zeroinitializer)
113 // CHECK-NEXT: call void @_Z1f14svbfloat16x2_tS_(<vscale x 16 x bfloat> zeroinitializer, <vscale x 16 x bfloat> zeroinitializer)
114 // CHECK-NEXT: call void @_Z1f14svbfloat16x3_tS_(<vscale x 24 x bfloat> zeroinitializer, <vscale x 24 x bfloat> zeroinitializer)
115 // CHECK-NEXT: call void @_Z1f14svbfloat16x4_tS_(<vscale x 32 x bfloat> zeroinitializer, <vscale x 32 x bfloat> zeroinitializer)
116 // CHECK-NEXT: call void @_Z1f10svboolx2_tS_(<vscale x 32 x i1> zeroinitializer, <vscale x 32 x i1> zeroinitializer)
117 // CHECK-NEXT: call void @_Z1f10svboolx4_tS_(<vscale x 64 x i1> zeroinitializer, <vscale x 64 x i1> zeroinitializer)
118 // CHECK-NEXT: ret void
120 // COMPAT_17-LABEL: define dso_local void @_Z3foov(
121 // COMPAT_17-SAME: ) #[[ATTR0:[0-9]+]] {
122 // COMPAT_17-NEXT: entry:
123 // COMPAT_17-NEXT: call void @_Z1fu10__SVInt8_tu10__SVInt8_t(<vscale x 16 x i8> zeroinitializer, <vscale x 16 x i8> zeroinitializer)
124 // COMPAT_17-NEXT: call void @_Z1fu11__SVInt16_tu11__SVInt16_t(<vscale x 8 x i16> zeroinitializer, <vscale x 8 x i16> zeroinitializer)
125 // COMPAT_17-NEXT: call void @_Z1fu11__SVInt16_tu11__SVInt16_t(<vscale x 8 x i16> zeroinitializer, <vscale x 8 x i16> zeroinitializer)
126 // COMPAT_17-NEXT: call void @_Z1fu11__SVInt32_tu11__SVInt32_t(<vscale x 4 x i32> zeroinitializer, <vscale x 4 x i32> zeroinitializer)
127 // COMPAT_17-NEXT: call void @_Z1fu11__SVInt64_tu11__SVInt64_t(<vscale x 2 x i64> zeroinitializer, <vscale x 2 x i64> zeroinitializer)
128 // COMPAT_17-NEXT: call void @_Z1fu11__SVUint8_tu11__SVUint8_t(<vscale x 16 x i8> zeroinitializer, <vscale x 16 x i8> zeroinitializer)
129 // COMPAT_17-NEXT: call void @_Z1fu12__SVUint16_tu12__SVUint16_t(<vscale x 8 x i16> zeroinitializer, <vscale x 8 x i16> zeroinitializer)
130 // COMPAT_17-NEXT: call void @_Z1fu12__SVUint32_tu12__SVUint32_t(<vscale x 4 x i32> zeroinitializer, <vscale x 4 x i32> zeroinitializer)
131 // COMPAT_17-NEXT: call void @_Z1fu12__SVUint64_tu12__SVUint64_t(<vscale x 2 x i64> zeroinitializer, <vscale x 2 x i64> zeroinitializer)
132 // COMPAT_17-NEXT: call void @_Z1fu13__SVFloat16_tu13__SVFloat16_t(<vscale x 8 x half> zeroinitializer, <vscale x 8 x half> zeroinitializer)
133 // COMPAT_17-NEXT: call void @_Z1fu13__SVFloat32_tu13__SVFloat32_t(<vscale x 4 x float> zeroinitializer, <vscale x 4 x float> zeroinitializer)
134 // COMPAT_17-NEXT: call void @_Z1fu13__SVFloat64_tu13__SVFloat64_t(<vscale x 2 x double> zeroinitializer, <vscale x 2 x double> zeroinitializer)
135 // COMPAT_17-NEXT: call void @_Z1fu14__SVBFloat16_tu14__SVBFloat16_t(<vscale x 8 x bfloat> zeroinitializer, <vscale x 8 x bfloat> zeroinitializer)
136 // COMPAT_17-NEXT: call void @_Z1fu10__SVBool_tu10__SVBool_t(<vscale x 16 x i1> zeroinitializer, <vscale x 16 x i1> zeroinitializer)
137 // COMPAT_17-NEXT: call void @_Z1fu11__SVCount_tu11__SVCount_t(target("aarch64.svcount") zeroinitializer, target("aarch64.svcount") zeroinitializer)
138 // COMPAT_17-NEXT: call void @_Z1f10svint8x2_t10svint8x2_t(<vscale x 32 x i8> zeroinitializer, <vscale x 32 x i8> zeroinitializer)
139 // COMPAT_17-NEXT: call void @_Z1f10svint8x3_t10svint8x3_t(<vscale x 48 x i8> zeroinitializer, <vscale x 48 x i8> zeroinitializer)
140 // COMPAT_17-NEXT: call void @_Z1f10svint8x4_t10svint8x4_t(<vscale x 64 x i8> zeroinitializer, <vscale x 64 x i8> zeroinitializer)
141 // COMPAT_17-NEXT: call void @_Z1f11svint16x2_t11svint16x2_t(<vscale x 16 x i16> zeroinitializer, <vscale x 16 x i16> zeroinitializer)
142 // COMPAT_17-NEXT: call void @_Z1f11svint16x3_t11svint16x3_t(<vscale x 24 x i16> zeroinitializer, <vscale x 24 x i16> zeroinitializer)
143 // COMPAT_17-NEXT: call void @_Z1f11svint16x4_t11svint16x4_t(<vscale x 32 x i16> zeroinitializer, <vscale x 32 x i16> zeroinitializer)
144 // COMPAT_17-NEXT: call void @_Z1f11svint32x2_t11svint32x2_t(<vscale x 8 x i32> zeroinitializer, <vscale x 8 x i32> zeroinitializer)
145 // COMPAT_17-NEXT: call void @_Z1f11svint32x3_t11svint32x3_t(<vscale x 12 x i32> zeroinitializer, <vscale x 12 x i32> zeroinitializer)
146 // COMPAT_17-NEXT: call void @_Z1f11svint32x4_t11svint32x4_t(<vscale x 16 x i32> zeroinitializer, <vscale x 16 x i32> zeroinitializer)
147 // COMPAT_17-NEXT: call void @_Z1f11svint64x2_t11svint64x2_t(<vscale x 4 x i64> zeroinitializer, <vscale x 4 x i64> zeroinitializer)
148 // COMPAT_17-NEXT: call void @_Z1f11svint64x3_t11svint64x3_t(<vscale x 6 x i64> zeroinitializer, <vscale x 6 x i64> zeroinitializer)
149 // COMPAT_17-NEXT: call void @_Z1f11svint64x4_t11svint64x4_t(<vscale x 8 x i64> zeroinitializer, <vscale x 8 x i64> zeroinitializer)
150 // COMPAT_17-NEXT: call void @_Z1f11svuint8x2_t11svuint8x2_t(<vscale x 32 x i8> zeroinitializer, <vscale x 32 x i8> zeroinitializer)
151 // COMPAT_17-NEXT: call void @_Z1f11svuint8x3_t11svuint8x3_t(<vscale x 48 x i8> zeroinitializer, <vscale x 48 x i8> zeroinitializer)
152 // COMPAT_17-NEXT: call void @_Z1f11svuint8x4_t11svuint8x4_t(<vscale x 64 x i8> zeroinitializer, <vscale x 64 x i8> zeroinitializer)
153 // COMPAT_17-NEXT: call void @_Z1f12svuint16x2_t12svuint16x2_t(<vscale x 16 x i16> zeroinitializer, <vscale x 16 x i16> zeroinitializer)
154 // COMPAT_17-NEXT: call void @_Z1f12svuint16x3_t12svuint16x3_t(<vscale x 24 x i16> zeroinitializer, <vscale x 24 x i16> zeroinitializer)
155 // COMPAT_17-NEXT: call void @_Z1f12svuint16x4_t12svuint16x4_t(<vscale x 32 x i16> zeroinitializer, <vscale x 32 x i16> zeroinitializer)
156 // COMPAT_17-NEXT: call void @_Z1f12svuint32x2_t12svuint32x2_t(<vscale x 8 x i32> zeroinitializer, <vscale x 8 x i32> zeroinitializer)
157 // COMPAT_17-NEXT: call void @_Z1f12svuint32x3_t12svuint32x3_t(<vscale x 12 x i32> zeroinitializer, <vscale x 12 x i32> zeroinitializer)
158 // COMPAT_17-NEXT: call void @_Z1f12svuint32x4_t12svuint32x4_t(<vscale x 16 x i32> zeroinitializer, <vscale x 16 x i32> zeroinitializer)
159 // COMPAT_17-NEXT: call void @_Z1f12svuint64x2_t12svuint64x2_t(<vscale x 4 x i64> zeroinitializer, <vscale x 4 x i64> zeroinitializer)
160 // COMPAT_17-NEXT: call void @_Z1f12svuint64x3_t12svuint64x3_t(<vscale x 6 x i64> zeroinitializer, <vscale x 6 x i64> zeroinitializer)
161 // COMPAT_17-NEXT: call void @_Z1f12svuint64x4_t12svuint64x4_t(<vscale x 8 x i64> zeroinitializer, <vscale x 8 x i64> zeroinitializer)
162 // COMPAT_17-NEXT: call void @_Z1f13svfloat16x2_t13svfloat16x2_t(<vscale x 16 x half> zeroinitializer, <vscale x 16 x half> zeroinitializer)
163 // COMPAT_17-NEXT: call void @_Z1f13svfloat16x3_t13svfloat16x3_t(<vscale x 24 x half> zeroinitializer, <vscale x 24 x half> zeroinitializer)
164 // COMPAT_17-NEXT: call void @_Z1f13svfloat16x4_t13svfloat16x4_t(<vscale x 32 x half> zeroinitializer, <vscale x 32 x half> zeroinitializer)
165 // COMPAT_17-NEXT: call void @_Z1f13svfloat32x2_t13svfloat32x2_t(<vscale x 8 x float> zeroinitializer, <vscale x 8 x float> zeroinitializer)
166 // COMPAT_17-NEXT: call void @_Z1f13svfloat32x3_t13svfloat32x3_t(<vscale x 12 x float> zeroinitializer, <vscale x 12 x float> zeroinitializer)
167 // COMPAT_17-NEXT: call void @_Z1f13svfloat32x4_t13svfloat32x4_t(<vscale x 16 x float> zeroinitializer, <vscale x 16 x float> zeroinitializer)
168 // COMPAT_17-NEXT: call void @_Z1f13svfloat64x2_t13svfloat64x2_t(<vscale x 4 x double> zeroinitializer, <vscale x 4 x double> zeroinitializer)
169 // COMPAT_17-NEXT: call void @_Z1f13svfloat64x3_t13svfloat64x3_t(<vscale x 6 x double> zeroinitializer, <vscale x 6 x double> zeroinitializer)
170 // COMPAT_17-NEXT: call void @_Z1f13svfloat64x4_t13svfloat64x4_t(<vscale x 8 x double> zeroinitializer, <vscale x 8 x double> zeroinitializer)
171 // COMPAT_17-NEXT: call void @_Z1f14svbfloat16x2_t14svbfloat16x2_t(<vscale x 16 x bfloat> zeroinitializer, <vscale x 16 x bfloat> zeroinitializer)
172 // COMPAT_17-NEXT: call void @_Z1f14svbfloat16x3_t14svbfloat16x3_t(<vscale x 24 x bfloat> zeroinitializer, <vscale x 24 x bfloat> zeroinitializer)
173 // COMPAT_17-NEXT: call void @_Z1f14svbfloat16x4_t14svbfloat16x4_t(<vscale x 32 x bfloat> zeroinitializer, <vscale x 32 x bfloat> zeroinitializer)
174 // COMPAT_17-NEXT: call void @_Z1f10svboolx2_t10svboolx2_t(<vscale x 32 x i1> zeroinitializer, <vscale x 32 x i1> zeroinitializer)
175 // COMPAT_17-NEXT: call void @_Z1f10svboolx4_t10svboolx4_t(<vscale x 64 x i1> zeroinitializer, <vscale x 64 x i1> zeroinitializer)
176 // COMPAT_17-NEXT: ret void
178 void foo() {
179 f(__SVInt8_t(), __SVInt8_t());
180 f(__SVInt16_t(), __SVInt16_t());
181 f(__SVInt16_t(), __SVInt16_t());
182 f(__SVInt32_t(), __SVInt32_t());
183 f(__SVInt64_t(), __SVInt64_t());
184 f(__SVUint8_t(), __SVUint8_t());
185 f(__SVUint16_t(), __SVUint16_t());
186 f(__SVUint32_t(), __SVUint32_t());
187 f(__SVUint64_t(), __SVUint64_t());
188 f(__SVFloat16_t(), __SVFloat16_t());
189 f(__SVFloat32_t(), __SVFloat32_t());
190 f(__SVFloat64_t(), __SVFloat64_t());
191 f(__SVBfloat16_t(), __SVBfloat16_t());
192 f(__SVBool_t(), __SVBool_t());
193 f(__SVCount_t(), __SVCount_t());
195 f(__clang_svint8x2_t(), __clang_svint8x2_t());
196 f(__clang_svint8x3_t(), __clang_svint8x3_t());
197 f(__clang_svint8x4_t(), __clang_svint8x4_t());
198 f(__clang_svint16x2_t(), __clang_svint16x2_t());
199 f(__clang_svint16x3_t(), __clang_svint16x3_t());
200 f(__clang_svint16x4_t(), __clang_svint16x4_t());
201 f(__clang_svint32x2_t(), __clang_svint32x2_t());
202 f(__clang_svint32x3_t(), __clang_svint32x3_t());
203 f(__clang_svint32x4_t(), __clang_svint32x4_t());
204 f(__clang_svint64x2_t(), __clang_svint64x2_t());
205 f(__clang_svint64x3_t(), __clang_svint64x3_t());
206 f(__clang_svint64x4_t(), __clang_svint64x4_t());
207 f(__clang_svuint8x2_t(), __clang_svuint8x2_t());
208 f(__clang_svuint8x3_t(), __clang_svuint8x3_t());
209 f(__clang_svuint8x4_t(), __clang_svuint8x4_t());
210 f(__clang_svuint16x2_t(), __clang_svuint16x2_t());
211 f(__clang_svuint16x3_t(), __clang_svuint16x3_t());
212 f(__clang_svuint16x4_t(), __clang_svuint16x4_t());
213 f(__clang_svuint32x2_t(), __clang_svuint32x2_t());
214 f(__clang_svuint32x3_t(), __clang_svuint32x3_t());
215 f(__clang_svuint32x4_t(), __clang_svuint32x4_t());
216 f(__clang_svuint64x2_t(), __clang_svuint64x2_t());
217 f(__clang_svuint64x3_t(), __clang_svuint64x3_t());
218 f(__clang_svuint64x4_t(), __clang_svuint64x4_t());
219 f(__clang_svfloat16x2_t(), __clang_svfloat16x2_t());
220 f(__clang_svfloat16x3_t(), __clang_svfloat16x3_t());
221 f(__clang_svfloat16x4_t(), __clang_svfloat16x4_t());
222 f(__clang_svfloat32x2_t(), __clang_svfloat32x2_t());
223 f(__clang_svfloat32x3_t(), __clang_svfloat32x3_t());
224 f(__clang_svfloat32x4_t(), __clang_svfloat32x4_t());
225 f(__clang_svfloat64x2_t(), __clang_svfloat64x2_t());
226 f(__clang_svfloat64x3_t(), __clang_svfloat64x3_t());
227 f(__clang_svfloat64x4_t(), __clang_svfloat64x4_t());
228 f(__clang_svbfloat16x2_t(), __clang_svbfloat16x2_t());
229 f(__clang_svbfloat16x3_t(), __clang_svbfloat16x3_t());
230 f(__clang_svbfloat16x4_t(), __clang_svbfloat16x4_t());
231 f(__clang_svboolx2_t(), __clang_svboolx2_t());
232 f(__clang_svboolx4_t(), __clang_svboolx4_t());