|
3 | 3 | // depending on -cl-fp32-correctly-rounded-divide-sqrt |
4 | 4 |
|
5 | 5 | // Test with -fdeclare-opencl-builtins |
6 | | -// RUN: %clang_cc1 -disable-llvm-passes -triple amdgcn-unknown-unknown -fdeclare-opencl-builtins -finclude-default-header -S -emit-llvm -o - %s | FileCheck -check-prefixes=CHECK,DEFAULT %s |
7 | | -// RUN: %clang_cc1 -disable-llvm-passes -triple amdgcn-unknown-unknown -fdeclare-opencl-builtins -finclude-default-header -cl-fp32-correctly-rounded-divide-sqrt -S -emit-llvm -o - %s | FileCheck -check-prefixes=CHECK,CORRECTLYROUNDED %s |
| 6 | +// RUN: %clang_cc1 -disable-llvm-passes -triple amdgcn-unknown-unknown -fdeclare-opencl-builtins -finclude-default-header -S -emit-llvm -o %t.ll %s |
| 7 | +// RUN: FileCheck -check-prefixes=CHECK,DEFAULT %s < %t.ll |
| 8 | +// RUN: %clang_cc1 -disable-llvm-passes -triple amdgcn-unknown-unknown -fdeclare-opencl-builtins -finclude-default-header -cl-fp32-correctly-rounded-divide-sqrt -S -emit-llvm -o %t.ll %s |
| 9 | +// RUN: FileCheck -check-prefixes=CHECK,CORRECTLYROUNDED %s < %t.ll |
8 | 10 |
|
9 | | -// RUN: %clang_cc1 -disable-llvm-passes -triple amdgcn-unknown-unknown -fdeclare-opencl-builtins -finclude-default-header -cl-unsafe-math-optimizations -S -emit-llvm -o - %s | FileCheck -check-prefixes=CHECK,DEFAULT-UNSAFE %s |
10 | | -// RUN: %clang_cc1 -disable-llvm-passes -triple amdgcn-unknown-unknown -fdeclare-opencl-builtins -finclude-default-header -cl-fp32-correctly-rounded-divide-sqrt -cl-unsafe-math-optimizations -S -emit-llvm -o - %s | FileCheck -check-prefixes=CHECK,CORRECTLYROUNDED-UNSAFE %s |
| 11 | +// RUN: %clang_cc1 -disable-llvm-passes -triple amdgcn-unknown-unknown -fdeclare-opencl-builtins -finclude-default-header -cl-unsafe-math-optimizations -S -emit-llvm -o %t.ll %s |
| 12 | +// RUN: FileCheck -check-prefixes=CHECK,DEFAULT-UNSAFE %s < %t.ll |
| 13 | +// RUN: %clang_cc1 -disable-llvm-passes -triple amdgcn-unknown-unknown -fdeclare-opencl-builtins -finclude-default-header -cl-fp32-correctly-rounded-divide-sqrt -cl-unsafe-math-optimizations -S -emit-llvm -o %t.ll %s |
| 14 | +// RUN: FileCheck -check-prefixes=CHECK,CORRECTLYROUNDED-UNSAFE %s < %t.ll |
11 | 15 |
|
12 | 16 | // Test without -fdeclare-opencl-builtins |
13 | 17 | // RUN: %clang_cc1 -disable-llvm-passes -triple amdgcn-unknown-unknown -finclude-default-header -S -emit-llvm -o - %s | FileCheck -check-prefixes=CHECK,DEFAULT %s |
|
19 | 23 | #pragma OPENCL EXTENSION cl_khr_fp16 : enable |
20 | 24 |
|
21 | 25 | // CHECK-LABEL: define {{.*}} float @call_sqrt_f32( |
22 | | -// CHECK: call {{.*}} float @_Z4sqrtf(float noundef %{{.+}}) #{{[0-9]+$}} |
| 26 | +// DEFAULT: call float @_Z4sqrtf(float noundef %{{.+}}) #{{[0-9]+}}, !fpmath [[FPMATH:\![0-9]+]]{{$}} |
| 27 | +// CORRECTLYROUNDED: call float @_Z4sqrtf(float noundef %{{.+}}) #{{[0-9]+}}{{$}} |
| 28 | + |
| 29 | +// DEFAULT-UNSAFE: call reassoc nsz arcp contract afn float @_Z4sqrtf(float noundef %{{.+}}) #{{[0-9]+}}, !fpmath [[FPMATH:\![0-9]+]]{{$}} |
| 30 | +// CORRECTLYROUNDED-UNSAFE: call reassoc nsz arcp contract afn float @_Z4sqrtf(float noundef %{{.+}}) #{{[0-9]+}}{{$}} |
23 | 31 | float call_sqrt_f32(float x) { |
24 | 32 | return sqrt(x); |
25 | 33 | } |
26 | 34 |
|
27 | | -// CHECK-LABEL: define available_externally float @_Z4sqrtf(float noundef %__x) |
28 | | -// DEFAULT: call float @llvm.sqrt.f32(float %{{.+}}), !fpmath [[$FPMATH:![0-9]+]]{{$}} |
29 | | -// CORRECTLYROUNDED: call float @llvm.sqrt.f32(float %{{.+}}){{$}} |
30 | | - |
31 | | -// DEFAULT-UNSAFE: call reassoc nsz arcp contract afn float @llvm.sqrt.f32(float %{{.+}}), !fpmath [[$FPMATH:![0-9]+]]{{$}} |
32 | | -// CORRECTLYROUNDED-UNSAFE: call reassoc nsz arcp contract afn float @llvm.sqrt.f32(float %{{.+}}){{$}} |
33 | | - |
34 | 35 | // CHECK-LABEL: define {{.*}} <2 x float> @call_sqrt_v2f32( |
35 | | -// CHECK: call {{.*}} <2 x float> @_Z4sqrtDv2_f(<2 x float> noundef %{{.*}}) #{{[0-9]+$}} |
| 36 | +// DEFAULT: call <2 x float> @_Z4sqrtDv2_f(<2 x float> noundef %{{.+}}) #{{[0-9]+}}, !fpmath [[FPMATH]]{{$}} |
| 37 | +// CORRECTLYROUNDED: call <2 x float> @_Z4sqrtDv2_f(<2 x float> noundef %{{.+}}) #{{[0-9]+}}{{$}} |
| 38 | + |
| 39 | +// DEFAULT-UNSAFE: call reassoc nsz arcp contract afn <2 x float> @_Z4sqrtDv2_f(<2 x float> noundef %{{.+}}) #{{[0-9]+}}, !fpmath [[FPMATH]]{{$}} |
| 40 | +// CORRECTLY-UNSAFE: call reassoc nsz arcp contract afn <2 x float> @_Z4sqrtDv2_f(<2 x float> noundef %{{.+}}) #{{[0-9]+}}{{$}} |
36 | 41 | float2 call_sqrt_v2f32(float2 x) { |
37 | 42 | return sqrt(x); |
38 | 43 | } |
39 | 44 |
|
40 | | -// CHECK-LABEL: define available_externally <2 x float> @_Z4sqrtDv2_f(<2 x float> noundef %__x) |
41 | | -// DEFAULT: call <2 x float> @llvm.sqrt.v2f32(<2 x float> %{{.+}}), !fpmath [[$FPMATH:![0-9]+]]{{$}} |
42 | | -// CORRECTLYROUNDED: call <2 x float> @llvm.sqrt.v2f32(<2 x float> %{{.+}}){{$}} |
43 | | - |
44 | | -// DEFAULT-UNSAFE: call reassoc nsz arcp contract afn <2 x float> @llvm.sqrt.v2f32(<2 x float> %{{.+}}), !fpmath [[$FPMATH:![0-9]+]]{{$}} |
45 | | -// CORRECTLYROUNDED-UNSAFE: call reassoc nsz arcp contract afn <2 x float> @llvm.sqrt.v2f32(<2 x float> %{{.+}}){{$}} |
46 | 45 |
|
47 | 46 | // CHECK-LABEL: define {{.*}} <3 x float> @call_sqrt_v3f32( |
48 | | -// CHECK: call {{.*}} <3 x float> @_Z4sqrtDv3_f(<3 x float> noundef %{{.*}}) #{{[0-9]+$}} |
| 47 | +// DEFAULT: call <3 x float> @_Z4sqrtDv3_f(<3 x float> noundef %{{.+}}) #{{[0-9]+}}, !fpmath [[FPMATH]]{{$}} |
| 48 | +// CORRECTLYROUNDED: call <3 x float> @_Z4sqrtDv3_f(<3 x float> noundef %{{.+}}) #{{[0-9]+}}{{$}} |
| 49 | + |
| 50 | +// DEFAULT-UNSAFE: call reassoc nsz arcp contract afn <3 x float> @_Z4sqrtDv3_f(<3 x float> noundef %{{.+}}) #{{[0-9]+}}, !fpmath [[FPMATH]]{{$}} |
| 51 | +// CORRECTLY-UNSAFE: call reassoc nsz arcp contract afn <3 x float> @_Z4sqrtDv3_f(<3 x float> noundef %{{.+}}) #{{[0-9]+}}{{$}} |
49 | 52 | float3 call_sqrt_v3f32(float3 x) { |
50 | 53 | return sqrt(x); |
51 | 54 | } |
52 | 55 |
|
53 | | -// CHECK-LABEL: define available_externally <3 x float> @_Z4sqrtDv3_f(<3 x float> noundef %__x) |
54 | | -// DEFAULT: call <3 x float> @llvm.sqrt.v3f32(<3 x float> %{{.+}}), !fpmath [[$FPMATH:![0-9]+]]{{$}} |
55 | | -// CORRECTLYROUNDED: call <3 x float> @llvm.sqrt.v3f32(<3 x float> %{{.+}}){{$}} |
56 | | - |
57 | | -// DEFAULT-UNSAFE: call reassoc nsz arcp contract afn <3 x float> @llvm.sqrt.v3f32(<3 x float> %{{.+}}), !fpmath [[$FPMATH:![0-9]+]]{{$}} |
58 | | -// CORRECTLYROUNDED-UNSAFE: call reassoc nsz arcp contract afn <3 x float> @llvm.sqrt.v3f32(<3 x float> %{{.+}}){{$}} |
59 | 56 |
|
60 | 57 |
|
61 | 58 | // CHECK-LABEL: define {{.*}} <4 x float> @call_sqrt_v4f32( |
62 | | -// CHECK: call {{.*}} <4 x float> @_Z4sqrtDv4_f(<4 x float> noundef %{{.*}}) #{{[0-9]+$}} |
| 59 | +// DEFAULT: call <4 x float> @_Z4sqrtDv4_f(<4 x float> noundef %{{.+}}) #{{[0-9]+}}, !fpmath [[FPMATH]]{{$}} |
| 60 | +// CORRECTLYROUNDED: call <4 x float> @_Z4sqrtDv4_f(<4 x float> noundef %{{.+}}) #{{[0-9]+}}{{$}} |
| 61 | + |
| 62 | +// DEFAULT-UNSAFE: call reassoc nsz arcp contract afn <4 x float> @_Z4sqrtDv4_f(<4 x float> noundef %{{.+}}) #{{[0-9]+}}, !fpmath [[FPMATH]]{{$}} |
| 63 | +// CORRECTLY-UNSAFE: call reassoc nsz arcp contract afn <4 x float> @_Z4sqrtDv4_f(<4 x float> noundef %{{.+}}) #{{[0-9]+}}{{$}} |
63 | 64 | float4 call_sqrt_v4f32(float4 x) { |
64 | 65 | return sqrt(x); |
65 | 66 | } |
66 | 67 |
|
67 | | -// CHECK-LABEL: define available_externally <4 x float> @_Z4sqrtDv4_f(<4 x float> noundef %__x) |
68 | | -// DEFAULT: call <4 x float> @llvm.sqrt.v4f32(<4 x float> %{{.+}}), !fpmath [[$FPMATH:![0-9]+]]{{$}} |
69 | | -// CORRECTLYROUNDED: call <4 x float> @llvm.sqrt.v4f32(<4 x float> %{{.+}}){{$}} |
70 | | - |
71 | | -// DEFAULT-UNSAFE: call reassoc nsz arcp contract afn <4 x float> @llvm.sqrt.v4f32(<4 x float> %{{.+}}), !fpmath [[$FPMATH:![0-9]+]]{{$}} |
72 | | -// CORRECTLYROUNDED-UNSAFE: call reassoc nsz arcp contract afn <4 x float> @llvm.sqrt.v4f32(<4 x float> %{{.+}}){{$}} |
73 | 68 |
|
74 | 69 | // CHECK-LABEL: define {{.*}} <8 x float> @call_sqrt_v8f32( |
75 | | -// CHECK: call {{.*}} <8 x float> @_Z4sqrtDv8_f(<8 x float> noundef %{{.*}}) #{{[0-9]+$}} |
| 70 | +// DEFAULT: call <8 x float> @_Z4sqrtDv8_f(<8 x float> noundef %{{.+}}) #{{[0-9]+}}, !fpmath [[FPMATH]]{{$}} |
| 71 | +// CORRECTLYROUNDED: call <8 x float> @_Z4sqrtDv8_f(<8 x float> noundef %{{.+}}) #{{[0-9]+}}{{$}} |
| 72 | + |
| 73 | +// DEFAULT-UNSAFE: call reassoc nsz arcp contract afn <8 x float> @_Z4sqrtDv8_f(<8 x float> noundef %{{.+}}) #{{[0-9]+}}, !fpmath [[FPMATH]]{{$}} |
| 74 | +// CORRECTLYROUNDED-UNSAFE: call reassoc nsz arcp contract afn <8 x float> @_Z4sqrtDv8_f(<8 x float> noundef %{{.+}}) #{{[0-9]+}}{{$}} |
76 | 75 | float8 call_sqrt_v8f32(float8 x) { |
77 | 76 | return sqrt(x); |
78 | 77 | } |
79 | 78 |
|
80 | | -// CHECK-LABEL: define available_externally <8 x float> @_Z4sqrtDv8_f(<8 x float> noundef %__x) |
81 | | -// DEFAULT: call <8 x float> @llvm.sqrt.v8f32(<8 x float> %{{.+}}), !fpmath [[$FPMATH:![0-9]+]]{{$}} |
82 | | -// CORRECTLYROUNDED: call <8 x float> @llvm.sqrt.v8f32(<8 x float> %{{.+}}){{$}} |
83 | | - |
84 | | -// DEFAULT-UNSAFE: call reassoc nsz arcp contract afn <8 x float> @llvm.sqrt.v8f32(<8 x float> %{{.+}}), !fpmath [[$FPMATH:![0-9]+]]{{$}} |
85 | | -// CORRECTLYROUNDED-UNSAFE: call reassoc nsz arcp contract afn <8 x float> @llvm.sqrt.v8f32(<8 x float> %{{.+}}){{$}} |
86 | 79 |
|
87 | 80 |
|
88 | 81 | // CHECK-LABEL: define {{.*}} <16 x float> @call_sqrt_v16f32( |
89 | | -// CHECK: call {{.*}} <16 x float> @_Z4sqrtDv16_f(<16 x float> noundef %{{.*}}) #{{[0-9]+$}} |
| 82 | +// DEFAULT: call <16 x float> @_Z4sqrtDv16_f(<16 x float> noundef %{{.+}}) #{{[0-9]+}}, !fpmath [[FPMATH]]{{$}} |
| 83 | +// CORRECTLYROUNDED: call <16 x float> @_Z4sqrtDv16_f(<16 x float> noundef %{{.+}}) #{{[0-9]+}}{{$}} |
| 84 | + |
| 85 | +// DEFAULT-UNSAFE: call reassoc nsz arcp contract afn <16 x float> @_Z4sqrtDv16_f(<16 x float> noundef %{{.+}}) #{{[0-9]+}}, !fpmath [[FPMATH]]{{$}} |
| 86 | +// CORRECTLY-UNSAFE: call reassoc nsz arcp contract afn <16 x float> @_Z4sqrtDv16_f(<16 x float> noundef %{{.+}}) #{{[0-9]+}}{{$}} |
90 | 87 | float16 call_sqrt_v16f32(float16 x) { |
91 | 88 | return sqrt(x); |
92 | 89 | } |
93 | 90 |
|
94 | | -// CHECK-LABEL: define available_externally <16 x float> @_Z4sqrtDv16_f(<16 x float> noundef %__x) |
95 | | -// DEFAULT: call <16 x float> @llvm.sqrt.v16f32(<16 x float> %{{.+}}), !fpmath [[$FPMATH:![0-9]+]]{{$}} |
96 | | -// CORRECTLYROUNDED: call <16 x float> @llvm.sqrt.v16f32(<16 x float> %{{.+}}){{$}} |
97 | | - |
98 | | -// DEFAULT-UNSAFE: call reassoc nsz arcp contract afn <16 x float> @llvm.sqrt.v16f32(<16 x float> %{{.+}}), !fpmath [[$FPMATH:![0-9]+]]{{$}} |
99 | | -// CORRECTLYROUNDED-UNSAFE: call reassoc nsz arcp contract afn <16 x float> @llvm.sqrt.v16f32(<16 x float> %{{.+}}){{$}} |
100 | 91 |
|
101 | 92 |
|
102 | 93 | // Not for f64 |
103 | 94 | // CHECK-LABEL: define {{.*}} double @call_sqrt_f64( |
104 | | -// CHECK: call {{.*}} double @_Z4sqrtd(double noundef %{{.+}}) #{{[0-9]+$}} |
| 95 | +// CHECK: call {{.*}} double @_Z4sqrtd(double noundef %{{.+}}) #{{[0-9]+$}}{{$}} |
105 | 96 | double call_sqrt_f64(double x) { |
106 | 97 | return sqrt(x); |
107 | 98 | } |
108 | 99 |
|
109 | | -// CHECK-NOT: define |
110 | 100 |
|
111 | 101 | // Not for f64 |
112 | 102 | // CHECK-LABEL: define {{.*}} <2 x double> @call_sqrt_v2f64( |
113 | | -// CHECK: call {{.*}} <2 x double> @_Z4sqrtDv2_d(<2 x double> noundef %{{.+}}) #{{[0-9]+$}} |
| 103 | +// CHECK: call {{.*}} <2 x double> @_Z4sqrtDv2_d(<2 x double> noundef %{{.+}}) #{{[0-9]+$}}{{$}} |
114 | 104 | double2 call_sqrt_v2f64(double2 x) { |
115 | 105 | return sqrt(x); |
116 | 106 | } |
117 | 107 |
|
118 | | -// CHECK-NOT: define |
119 | 108 |
|
120 | 109 | // CHECK-LABEL: define {{.*}} <3 x double> @call_sqrt_v3f64( |
121 | | -// CHECK: call {{.*}} <3 x double> @_Z4sqrtDv3_d(<3 x double> noundef %{{.+}}) #{{[0-9]+$}} |
| 110 | +// CHECK: call {{.*}} <3 x double> @_Z4sqrtDv3_d(<3 x double> noundef %{{.+}}) #{{[0-9]+$}}{{$}} |
122 | 111 | double3 call_sqrt_v3f64(double3 x) { |
123 | 112 | return sqrt(x); |
124 | 113 | } |
125 | 114 |
|
126 | | -// CHECK-NOT: define |
127 | 115 |
|
128 | 116 | // CHECK-LABEL: define {{.*}} <4 x double> @call_sqrt_v4f64( |
129 | | -// CHECK: call {{.*}} <4 x double> @_Z4sqrtDv4_d(<4 x double> noundef %{{.+}}) #{{[0-9]+$}} |
| 117 | +// CHECK: call {{.*}} <4 x double> @_Z4sqrtDv4_d(<4 x double> noundef %{{.+}}) #{{[0-9]+$}}{{$}} |
130 | 118 | double4 call_sqrt_v4f64(double4 x) { |
131 | 119 | return sqrt(x); |
132 | 120 | } |
133 | 121 |
|
134 | | -// CHECK-NOT: define |
135 | 122 |
|
136 | 123 | // CHECK-LABEL: define {{.*}} <8 x double> @call_sqrt_v8f64( |
137 | | -// CHECK: call {{.*}} <8 x double> @_Z4sqrtDv8_d(<8 x double> noundef %{{.+}}) #{{[0-9]+$}} |
| 124 | +// CHECK: call {{.*}} <8 x double> @_Z4sqrtDv8_d(<8 x double> noundef %{{.+}}) #{{[0-9]+$}}{{$}} |
138 | 125 | double8 call_sqrt_v8f64(double8 x) { |
139 | 126 | return sqrt(x); |
140 | 127 | } |
141 | 128 |
|
142 | | -// CHECK-NOT: define |
143 | 129 |
|
144 | 130 | // CHECK-LABEL: define {{.*}} <16 x double> @call_sqrt_v16f64( |
145 | | -// CHECK: call {{.*}} <16 x double> @_Z4sqrtDv16_d(<16 x double> noundef %{{.+}}) #{{[0-9]+$}} |
| 131 | +// CHECK: call {{.*}} <16 x double> @_Z4sqrtDv16_d(<16 x double> noundef %{{.+}}) #{{[0-9]+$}}{{$}} |
146 | 132 | double16 call_sqrt_v16f64(double16 x) { |
147 | 133 | return sqrt(x); |
148 | 134 | } |
149 | 135 |
|
150 | | -// CHECK-NOT: define |
151 | 136 |
|
152 | 137 | // Not for f16 |
153 | 138 | // CHECK-LABEL: define {{.*}} half @call_sqrt_f16( |
154 | | -// CHECK: call {{.*}} half @_Z4sqrtDh(half noundef %{{.+}}) #{{[0-9]+$}} |
| 139 | +// CHECK: call {{.*}} half @_Z4sqrtDh(half noundef %{{.+}}) #{{[0-9]+$}}{{$}} |
155 | 140 | half call_sqrt_f16(half x) { |
156 | 141 | return sqrt(x); |
157 | 142 | } |
158 | 143 |
|
159 | | -// CHECK-NOT: define |
160 | 144 |
|
161 | 145 | // CHECK-LABEL: define {{.*}} <2 x half> @call_sqrt_v2f16( |
162 | | -// CHECK: call {{.*}} <2 x half> @_Z4sqrtDv2_Dh(<2 x half> noundef %{{.+}}) #{{[0-9]+$}} |
| 146 | +// CHECK: call {{.*}} <2 x half> @_Z4sqrtDv2_Dh(<2 x half> noundef %{{.+}}) #{{[0-9]+$}}{{$}} |
163 | 147 | half2 call_sqrt_v2f16(half2 x) { |
164 | 148 | return sqrt(x); |
165 | 149 | } |
166 | 150 |
|
167 | | -// CHECK-NOT: define |
168 | 151 |
|
169 | 152 | // CHECK-LABEL: define {{.*}} <3 x half> @call_sqrt_v3f16( |
170 | | -// CHECK: call {{.*}} <3 x half> @_Z4sqrtDv3_Dh(<3 x half> noundef %{{.+}}) #{{[0-9]+$}} |
| 153 | +// CHECK: call {{.*}} <3 x half> @_Z4sqrtDv3_Dh(<3 x half> noundef %{{.+}}) #{{[0-9]+$}}{{$}} |
171 | 154 | half3 call_sqrt_v3f16(half3 x) { |
172 | 155 | return sqrt(x); |
173 | 156 | } |
174 | 157 |
|
175 | | -// CHECK-NOT: define |
176 | 158 |
|
177 | 159 | // CHECK-LABEL: define {{.*}} <4 x half> @call_sqrt_v4f16( |
178 | | -// CHECK: call {{.*}} <4 x half> @_Z4sqrtDv4_Dh(<4 x half> noundef %{{.+}}) #{{[0-9]+$}} |
| 160 | +// CHECK: call {{.*}} <4 x half> @_Z4sqrtDv4_Dh(<4 x half> noundef %{{.+}}) #{{[0-9]+$}}{{$}} |
179 | 161 | half4 call_sqrt_v4f16(half4 x) { |
180 | 162 | return sqrt(x); |
181 | 163 | } |
182 | 164 |
|
183 | | -// CHECK-NOT: define |
184 | 165 |
|
185 | 166 | // CHECK-LABEL: define {{.*}} <8 x half> @call_sqrt_v8f16( |
186 | | -// CHECK: call {{.*}} <8 x half> @_Z4sqrtDv8_Dh(<8 x half> noundef %{{.+}}) #{{[0-9]+$}} |
| 167 | +// CHECK: call {{.*}} <8 x half> @_Z4sqrtDv8_Dh(<8 x half> noundef %{{.+}}) #{{[0-9]+$}}{{$}} |
187 | 168 | half8 call_sqrt_v8f16(half8 x) { |
188 | 169 | return sqrt(x); |
189 | 170 | } |
190 | 171 |
|
191 | | -// CHECK-NOT: define |
192 | 172 |
|
193 | 173 | // CHECK-LABEL: define {{.*}} <16 x half> @call_sqrt_v16f16( |
194 | | -// CHECK: call {{.*}} <16 x half> @_Z4sqrtDv16_Dh(<16 x half> noundef %{{.+}}) #{{[0-9]+$}} |
| 174 | +// CHECK: call {{.*}} <16 x half> @_Z4sqrtDv16_Dh(<16 x half> noundef %{{.+}}) #{{[0-9]+$}}{{$}} |
195 | 175 | half16 call_sqrt_v16f16(half16 x) { |
196 | 176 | return sqrt(x); |
197 | 177 | } |
198 | 178 |
|
199 | | -// CHECK-NOT: define |
200 | | - |
201 | | -// DEFAULT: [[$FPMATH]] = !{float 3.000000e+00} |
| 179 | +// DEFAULT: [[FPMATH]] = !{float 3.000000e+00} |
0 commit comments