1 ; RUN: llc < %s -mtriple=arm64-eabi -aarch64-neon-syntax=apple -mattr=-fullfp16 \
2 ; RUN: | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NOFP16
3 ; RUN: llc < %s -mtriple=arm64-eabi -aarch64-neon-syntax=apple -mattr=+fullfp16 \
4 ; RUN: | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-FP16
6 ; RUN: llc < %s -mtriple=arm64-eabi -aarch64-neon-syntax=apple -mattr=-fullfp16 \
7 ; RUN: -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel* \
8 ; RUN: 2>&1 | FileCheck %s --check-prefixes=GISEL,GISEL-NOFP16,FALLBACK
9 ; RUN: llc < %s -mtriple=arm64-eabi -aarch64-neon-syntax=apple -mattr=+fullfp16 \
10 ; RUN: -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel* \
11 ; RUN: 2>&1 | FileCheck %s --check-prefixes=GISEL,GISEL-FP16,FALLBACK
15 %v4f16 = type <4 x half>
17 define %v4f16 @test_v4f16.powi(%v4f16 %a, i32 %b) {
18 ; This operation is expanded, whether with or without +fullfp16.
19 ; CHECK-LABEL: test_v4f16.powi:
20 ; CHECK-COUNT-4: bl __powi
21 %1 = call %v4f16 @llvm.powi.v4f16.i32(%v4f16 %a, i32 %b)
25 ; FALLBACK-NOT: remark{{.*}}test_v4f16.sin
26 define %v4f16 @test_v4f16.sin(%v4f16 %a) {
27 ; This operation is expanded, whether with or without +fullfp16.
28 ; CHECK-LABEL: test_v4f16.sin:
29 ; CHECK-COUNT-4: bl sinf
30 ; GISEL-LABEL: test_v4f16.sin:
31 ; GISEL-COUNT-4: bl sinf
32 %1 = call %v4f16 @llvm.sin.v4f16(%v4f16 %a)
36 ; FALLBACK-NOT: remark{{.*}}test_v4f16.cos
37 define %v4f16 @test_v4f16.cos(%v4f16 %a) {
38 ; This operation is expanded, whether with or without +fullfp16.
39 ; CHECK-LABEL: test_v4f16.cos:
40 ; CHECK-COUNT-4: bl cosf
41 ; GISEL-LABEL: test_v4f16.cos:
42 ; GISEL-COUNT-4: bl cosf
43 %1 = call %v4f16 @llvm.cos.v4f16(%v4f16 %a)
47 ; FALLBACK-NOT: remark{{.*}}test_v4f16.pow
48 define %v4f16 @test_v4f16.pow(%v4f16 %a, %v4f16 %b) {
49 ; This operation is expanded, whether with or without +fullfp16.
50 ; CHECK-LABEL: test_v4f16.pow:
51 ; GISEL-LABEL: test_v4f16.pow:
52 ; CHECK-COUNT-4: bl pow
53 ; GISEL-COUNT-4: bl pow
54 %1 = call %v4f16 @llvm.pow.v4f16(%v4f16 %a, %v4f16 %b)
58 ; FALLBACK-NOT: remark{{.*}}test_v4f16.exp
59 define %v4f16 @test_v4f16.exp(%v4f16 %a) {
60 ; This operation is expanded, whether with or without +fullfp16.
61 ; CHECK-LABEL: test_v4f16.exp:
62 ; CHECK-COUNT-4: bl exp
63 ; GISEL-LABEL: test_v4f16.exp:
64 ; GISEL-COUNT-4: bl exp
65 %1 = call %v4f16 @llvm.exp.v4f16(%v4f16 %a)
68 define %v4f16 @test_v4f16.exp2(%v4f16 %a) {
69 ; This operation is expanded, whether with or without +fullfp16.
70 ; CHECK-LABEL: test_v4f16.exp2:
71 ; CHECK-COUNT-4: bl exp2
72 %1 = call %v4f16 @llvm.exp2.v4f16(%v4f16 %a)
76 ; FALLBACK-NOT: remark{{.*}}test_v4f16.log
77 define %v4f16 @test_v4f16.log(%v4f16 %a) {
78 ; This operation is expanded, whether with or without +fullfp16.
79 ; CHECK-LABEL: test_v4f16.log:
80 ; CHECK-COUNT-4: bl log
81 ; GISEL-LABEL: test_v4f16.log:
82 ; GISEL-COUNT-4: bl log
83 %1 = call %v4f16 @llvm.log.v4f16(%v4f16 %a)
87 ; FALLBACK-NOT: remark{{.*}}test_v4f16.log10
88 define %v4f16 @test_v4f16.log10(%v4f16 %a) {
89 ; This operation is expanded, whether with or without +fullfp16.
90 ; CHECK-LABEL: test_v4f16.log10:
91 ; CHECK-COUNT-4: bl log10
92 ; GISEL-LABEL: test_v4f16.log10:
93 ; GISEL-COUNT-4: bl log10
94 %1 = call %v4f16 @llvm.log10.v4f16(%v4f16 %a)
98 ; FALLBACK-NOT: remark{{.*}}test_v4f16.log2
99 define %v4f16 @test_v4f16.log2(%v4f16 %a) {
100 ; This operation is expanded, whether with or without +fullfp16.
101 ; CHECK-LABEL: test_v4f16.log2:
102 ; CHECK-COUNT-4: bl log2
103 ; GISEL-LABEL: test_v4f16.log2:
104 ; GISEL-COUNT-4: bl log2
105 %1 = call %v4f16 @llvm.log2.v4f16(%v4f16 %a)
109 ; FALLBACK-NOT: remark{{.*}}test_v4f16.fma
110 define %v4f16 @test_v4f16.fma(%v4f16 %a, %v4f16 %b, %v4f16 %c) {
111 ; CHECK-LABEL: test_v4f16.fma:
112 ; CHECK-NOFP16-COUNT-4: fmadd s{{[0-9]+}}, s{{[0-9]+}}, s{{[0-9]+}}, s{{[0-9]+}}
113 ; CHECK-FP16-NOT: fcvt
114 ; CHECK-FP16: fmla.4h
115 ; GISEL-LABEL: test_v4f16.fma:
116 ; GISEL-NOFP16-COUNT-4: fmadd s{{[0-9]+}}, s{{[0-9]+}}, s{{[0-9]+}}, s{{[0-9]+}}
117 ; GISEL-FP16-NOT: fcvt
118 ; GISEL-FP16: fmla.4h
119 %1 = call %v4f16 @llvm.fma.v4f16(%v4f16 %a, %v4f16 %b, %v4f16 %c)
123 declare %v4f16 @llvm.powi.v4f16.i32(%v4f16, i32) #0
124 declare %v4f16 @llvm.sin.v4f16(%v4f16) #0
125 declare %v4f16 @llvm.cos.v4f16(%v4f16) #0
126 declare %v4f16 @llvm.pow.v4f16(%v4f16, %v4f16) #0
127 declare %v4f16 @llvm.exp.v4f16(%v4f16) #0
128 declare %v4f16 @llvm.exp2.v4f16(%v4f16) #0
129 declare %v4f16 @llvm.log.v4f16(%v4f16) #0
130 declare %v4f16 @llvm.log10.v4f16(%v4f16) #0
131 declare %v4f16 @llvm.log2.v4f16(%v4f16) #0
132 declare %v4f16 @llvm.fma.v4f16(%v4f16, %v4f16, %v4f16) #0
136 %v8f16 = type <8 x half>
138 define %v8f16 @test_v8f16.powi(%v8f16 %a, i32 %b) {
139 ; This operation is expanded, whether with or without +fullfp16.
140 ; CHECK-LABEL: test_v8f16.powi:
141 ; CHECK-COUNT-8: bl __powi
142 ; GISEL-LABEL: test_v8f16.powi:
143 ; GISEL-COUNT-8: bl __powi
144 %1 = call %v8f16 @llvm.powi.v8f16.i32(%v8f16 %a, i32 %b)
148 ; FALLBACK-NOT: remark{{.*}}test_v8f16.sin
149 define %v8f16 @test_v8f16.sin(%v8f16 %a) {
150 ; This operation is expanded, whether with or without +fullfp16.
151 ; CHECK-LABEL: test_v8f16.sin:
152 ; CHECK-COUNT-8: bl sinf
153 ; GISEL-LABEL: test_v8f16.sin:
154 ; GISEL-COUNT-8: bl sinf
155 %1 = call %v8f16 @llvm.sin.v8f16(%v8f16 %a)
159 ; FALLBACK-NOT: remark{{.*}}test_v8f16.cos
160 define %v8f16 @test_v8f16.cos(%v8f16 %a) {
161 ; This operation is expanded, whether with or without +fullfp16.
162 ; CHECK-LABEL: test_v8f16.cos:
163 ; CHECK-COUNT-8: bl cosf
164 ; GISEL-LABEL: test_v8f16.cos:
165 ; GISEL-COUNT-8: bl cosf
166 %1 = call %v8f16 @llvm.cos.v8f16(%v8f16 %a)
170 ; FALLBACK-NOT: remark{{.*}}test_v8f16.pow
171 define %v8f16 @test_v8f16.pow(%v8f16 %a, %v8f16 %b) {
172 ; This operation is expanded, whether with or without +fullfp16.
173 ; CHECK-LABEL: test_v8f16.pow:
174 ; CHECK-COUNT-8: bl pow
175 ; GISEL-LABEL: test_v8f16.pow:
176 ; GISEL-COUNT-8: bl pow
177 %1 = call %v8f16 @llvm.pow.v8f16(%v8f16 %a, %v8f16 %b)
181 ; FALLBACK-NOT: remark{{.*}}test_v8f16.exp
182 define %v8f16 @test_v8f16.exp(%v8f16 %a) {
183 ; This operation is expanded, whether with or without +fullfp16.
184 ; CHECK-LABEL: test_v8f16.exp:
185 ; CHECK-COUNT-8: bl exp
186 ; GISEL-LABEL: test_v8f16.exp:
187 ; GISEL-COUNT-8: bl exp
188 %1 = call %v8f16 @llvm.exp.v8f16(%v8f16 %a)
191 define %v8f16 @test_v8f16.exp2(%v8f16 %a) {
192 ; This operation is expanded, whether with or without +fullfp16.
193 ; CHECK-LABEL: test_v8f16.exp2:
194 ; CHECK-COUNT-8: bl exp2
195 %1 = call %v8f16 @llvm.exp2.v8f16(%v8f16 %a)
199 ; FALLBACK-NOT: remark{{.*}}test_v8f16.log
200 define %v8f16 @test_v8f16.log(%v8f16 %a) {
201 ; This operation is expanded, whether with or without +fullfp16.
202 ; CHECK-LABEL: test_v8f16.log:
203 ; CHECK-COUNT-8: bl log
204 ; GISEL-LABEL: test_v8f16.log:
205 ; GISEL-COUNT-8: bl log
206 %1 = call %v8f16 @llvm.log.v8f16(%v8f16 %a)
210 ; FALLBACK-NOT: remark{{.*}}test_v8f16.log10
211 define %v8f16 @test_v8f16.log10(%v8f16 %a) {
212 ; This operation is expanded, whether with or without +fullfp16.
213 ; CHECK-LABEL: test_v8f16.log10:
214 ; CHECK-COUNT-8: bl log10
215 ; GISEL-LABEL: test_v8f16.log10:
216 ; GISEL-COUNT-8: bl log10
217 %1 = call %v8f16 @llvm.log10.v8f16(%v8f16 %a)
221 ; FALLBACK-NOT: remark{{.*}}test_v8f16.log2
222 define %v8f16 @test_v8f16.log2(%v8f16 %a) {
223 ; This operation is expanded, whether with or without +fullfp16.
224 ; CHECK-LABEL: test_v8f16.log2:
225 ; CHECK-COUNT-8: bl log2
226 ; GISEL-LABEL: test_v8f16.log2:
227 ; GISEL-COUNT-8: bl log2
228 %1 = call %v8f16 @llvm.log2.v8f16(%v8f16 %a)
232 ; FALLBACK-NOT: remark{{.*}}test_v8f16.fma
233 define %v8f16 @test_v8f16.fma(%v8f16 %a, %v8f16 %b, %v8f16 %c) {
234 ; CHECK-LABEL: test_v8f16.fma:
235 ; CHECK-NOFP16-COUNT-8: fmadd s{{[0-9]+}}, s{{[0-9]+}}, s{{[0-9]+}}, s{{[0-9]+}}
236 ; CHECK-FP16-NOT: fcvt
237 ; CHECK-FP16: fmla.8h
238 ; GISEL-LABEL: test_v8f16.fma:
239 ; GISEL-NOFP16-COUNT-8: fmadd s{{[0-9]+}}, s{{[0-9]+}}, s{{[0-9]+}}, s{{[0-9]+}}
240 ; GISEL-FP16-NOT: fcvt
241 ; GISEL-FP16: fmla.8h
242 %1 = call %v8f16 @llvm.fma.v8f16(%v8f16 %a, %v8f16 %b, %v8f16 %c)
246 declare %v8f16 @llvm.powi.v8f16.i32(%v8f16, i32) #0
247 declare %v8f16 @llvm.sin.v8f16(%v8f16) #0
248 declare %v8f16 @llvm.cos.v8f16(%v8f16) #0
249 declare %v8f16 @llvm.pow.v8f16(%v8f16, %v8f16) #0
250 declare %v8f16 @llvm.exp.v8f16(%v8f16) #0
251 declare %v8f16 @llvm.exp2.v8f16(%v8f16) #0
252 declare %v8f16 @llvm.log.v8f16(%v8f16) #0
253 declare %v8f16 @llvm.log10.v8f16(%v8f16) #0
254 declare %v8f16 @llvm.log2.v8f16(%v8f16) #0
255 declare %v8f16 @llvm.fma.v8f16(%v8f16, %v8f16, %v8f16) #0
259 %v2f32 = type <2 x float>
261 ; CHECK: test_v2f32.powi:
262 define %v2f32 @test_v2f32.powi(%v2f32 %a, i32 %b) {
264 %1 = call %v2f32 @llvm.powi.v2f32.i32(%v2f32 %a, i32 %b)
268 ; FALLBACK-NOT: remark{{.*}}test_v2f32.sin
269 ; CHECK: test_v2f32.sin:
270 define %v2f32 @test_v2f32.sin(%v2f32 %a) {
273 %1 = call %v2f32 @llvm.sin.v2f32(%v2f32 %a)
277 ; FALLBACK-NOT: remark{{.*}}test_v2f32.cos
278 ; CHECK: test_v2f32.cos:
279 define %v2f32 @test_v2f32.cos(%v2f32 %a) {
282 %1 = call %v2f32 @llvm.cos.v2f32(%v2f32 %a)
286 ; FALLBACK-NOT: remark{{.*}}test_v2f32.pow
287 ; CHECK: test_v2f32.pow:
288 ; GISEL-LABEL: test_v2f32.pow:
289 define %v2f32 @test_v2f32.pow(%v2f32 %a, %v2f32 %b) {
292 %1 = call %v2f32 @llvm.pow.v2f32(%v2f32 %a, %v2f32 %b)
296 ; FALLBACK-NOT: remark{{.*}}test_v2f32.exp
297 ; CHECK: test_v2f32.exp:
298 ; GISEL: test_v2f32.exp:
299 define %v2f32 @test_v2f32.exp(%v2f32 %a) {
302 %1 = call %v2f32 @llvm.exp.v2f32(%v2f32 %a)
305 ; CHECK: test_v2f32.exp2:
306 define %v2f32 @test_v2f32.exp2(%v2f32 %a) {
308 %1 = call %v2f32 @llvm.exp2.v2f32(%v2f32 %a)
312 ; FALLBACK-NOT: remark{{.*}}test_v2f32.log
313 ; CHECK: test_v2f32.log:
314 define %v2f32 @test_v2f32.log(%v2f32 %a) {
317 %1 = call %v2f32 @llvm.log.v2f32(%v2f32 %a)
321 ; FALLBACK-NOT: remark{{.*}}test_v2f32.log10
322 ; CHECK: test_v2f32.log10:
323 ; GISEL: test_v2f32.log10:
324 define %v2f32 @test_v2f32.log10(%v2f32 %a) {
327 %1 = call %v2f32 @llvm.log10.v2f32(%v2f32 %a)
331 ; FALLBACK-NOT: remark{{.*}}test_v2f32.log2
332 ; CHECK: test_v2f32.log2:
333 ; GISEL: test_v2f32.log2:
334 define %v2f32 @test_v2f32.log2(%v2f32 %a) {
337 %1 = call %v2f32 @llvm.log2.v2f32(%v2f32 %a)
341 ; FALLBACK-NOT: remark{{.*}}test_v2f32.fma
342 ; CHECK-LABEL: test_v2f32.fma:
343 ; GISEL-LABEL: test_v2f32.fma:
344 define %v2f32 @test_v2f32.fma(%v2f32 %a, %v2f32 %b, %v2f32 %c) {
347 %1 = call %v2f32 @llvm.fma.v2f32(%v2f32 %a, %v2f32 %b, %v2f32 %c)
351 declare %v2f32 @llvm.powi.v2f32.i32(%v2f32, i32) #0
352 declare %v2f32 @llvm.sin.v2f32(%v2f32) #0
353 declare %v2f32 @llvm.cos.v2f32(%v2f32) #0
354 declare %v2f32 @llvm.pow.v2f32(%v2f32, %v2f32) #0
355 declare %v2f32 @llvm.exp.v2f32(%v2f32) #0
356 declare %v2f32 @llvm.exp2.v2f32(%v2f32) #0
357 declare %v2f32 @llvm.log.v2f32(%v2f32) #0
358 declare %v2f32 @llvm.log10.v2f32(%v2f32) #0
359 declare %v2f32 @llvm.log2.v2f32(%v2f32) #0
360 declare %v2f32 @llvm.fma.v2f32(%v2f32, %v2f32, %v2f32) #0
364 %v4f32 = type <4 x float>
366 ; CHECK: test_v4f32.powi:
367 define %v4f32 @test_v4f32.powi(%v4f32 %a, i32 %b) {
369 %1 = call %v4f32 @llvm.powi.v4f32.i32(%v4f32 %a, i32 %b)
373 ; FALLBACK-NOT: remark{{.*}}test_v4f32.sin
374 ; CHECK: test_v4f32.sin:
375 define %v4f32 @test_v4f32.sin(%v4f32 %a) {
378 %1 = call %v4f32 @llvm.sin.v4f32(%v4f32 %a)
382 ; FALLBACK-NOT: remark{{.*}}test_v4f32.cos
383 ; CHECK: test_v4f32.cos:
384 define %v4f32 @test_v4f32.cos(%v4f32 %a) {
387 %1 = call %v4f32 @llvm.cos.v4f32(%v4f32 %a)
391 ; FALLBACK-NOT: remark{{.*}}test_v4f32.pow
392 ; CHECK: test_v4f32.pow:
393 ; GISEL-LABEL: test_v4f32.pow:
394 define %v4f32 @test_v4f32.pow(%v4f32 %a, %v4f32 %b) {
397 %1 = call %v4f32 @llvm.pow.v4f32(%v4f32 %a, %v4f32 %b)
401 ; FALLBACK-NOT: remark{{.*}}test_v4f32.exp
402 ; CHECK: test_v4f32.exp:
403 ; GISEL: test_v4f32.exp:
404 define %v4f32 @test_v4f32.exp(%v4f32 %a) {
407 %1 = call %v4f32 @llvm.exp.v4f32(%v4f32 %a)
410 ; CHECK: test_v4f32.exp2:
411 define %v4f32 @test_v4f32.exp2(%v4f32 %a) {
413 %1 = call %v4f32 @llvm.exp2.v4f32(%v4f32 %a)
417 ; FALLBACK-NOT: remark{{.*}}test_v4f32.log
418 ; CHECK: test_v4f32.log:
419 define %v4f32 @test_v4f32.log(%v4f32 %a) {
422 %1 = call %v4f32 @llvm.log.v4f32(%v4f32 %a)
426 ; FALLBACK-NOT: remark{{.*}}test_v4f32.log10
427 ; CHECK: test_v4f32.log10:
428 define %v4f32 @test_v4f32.log10(%v4f32 %a) {
431 %1 = call %v4f32 @llvm.log10.v4f32(%v4f32 %a)
435 ; FALLBACK-NOT: remark{{.*}}test_v4f32.log2
436 ; CHECK: test_v4f32.log2:
437 ; GISEL: test_v4f32.log2:
438 define %v4f32 @test_v4f32.log2(%v4f32 %a) {
441 %1 = call %v4f32 @llvm.log2.v4f32(%v4f32 %a)
445 ; FALLBACK-NOT: remark{{.*}}test_v4f32.fma
446 ; CHECK: test_v4f32.fma:
447 ; GISEL: test_v4f32.fma:
448 define %v4f32 @test_v4f32.fma(%v4f32 %a, %v4f32 %b, %v4f32 %c) {
451 %1 = call %v4f32 @llvm.fma.v4f32(%v4f32 %a, %v4f32 %b, %v4f32 %c)
455 declare %v4f32 @llvm.powi.v4f32.i32(%v4f32, i32) #0
456 declare %v4f32 @llvm.sin.v4f32(%v4f32) #0
457 declare %v4f32 @llvm.cos.v4f32(%v4f32) #0
458 declare %v4f32 @llvm.pow.v4f32(%v4f32, %v4f32) #0
459 declare %v4f32 @llvm.exp.v4f32(%v4f32) #0
460 declare %v4f32 @llvm.exp2.v4f32(%v4f32) #0
461 declare %v4f32 @llvm.log.v4f32(%v4f32) #0
462 declare %v4f32 @llvm.log10.v4f32(%v4f32) #0
463 declare %v4f32 @llvm.log2.v4f32(%v4f32) #0
464 declare %v4f32 @llvm.fma.v4f32(%v4f32, %v4f32, %v4f32) #0
468 %v2f64 = type <2 x double>
470 ; CHECK: test_v2f64.powi:
471 define %v2f64 @test_v2f64.powi(%v2f64 %a, i32 %b) {
473 %1 = call %v2f64 @llvm.powi.v2f64.i32(%v2f64 %a, i32 %b)
477 ; FALLBACK-NOT: remark{{.*}}test_v2f64.sin
478 ; CHECK: test_v2f64.sin:
479 define %v2f64 @test_v2f64.sin(%v2f64 %a) {
482 %1 = call %v2f64 @llvm.sin.v2f64(%v2f64 %a)
486 ; FALLBACK-NOT: remark{{.*}}test_v2f64.cos
487 ; CHECK: test_v2f64.cos:
488 define %v2f64 @test_v2f64.cos(%v2f64 %a) {
491 %1 = call %v2f64 @llvm.cos.v2f64(%v2f64 %a)
495 ; FALLBACK-NOT: remark{{.*}}test_v2f64.pow
496 ; CHECK: test_v2f64.pow:
497 ; GISEL-LABEL: test_v2f64.pow:
498 define %v2f64 @test_v2f64.pow(%v2f64 %a, %v2f64 %b) {
501 %1 = call %v2f64 @llvm.pow.v2f64(%v2f64 %a, %v2f64 %b)
505 ; FALLBACK-NOT: remark{{.*}}test_v2f64.exp
506 ; CHECK: test_v2f64.exp:
507 ; GISEL: test_v2f64.exp:
508 define %v2f64 @test_v2f64.exp(%v2f64 %a) {
511 %1 = call %v2f64 @llvm.exp.v2f64(%v2f64 %a)
514 ; CHECK: test_v2f64.exp2:
515 define %v2f64 @test_v2f64.exp2(%v2f64 %a) {
517 %1 = call %v2f64 @llvm.exp2.v2f64(%v2f64 %a)
521 ; FALLBACK-NOT: remark{{.*}}test_v2f64.log
522 ; CHECK: test_v2f64.log:
523 define %v2f64 @test_v2f64.log(%v2f64 %a) {
526 %1 = call %v2f64 @llvm.log.v2f64(%v2f64 %a)
530 ; FALLBACK-NOT: remark{{.*}}test_v2f64.log10
531 ; CHECK: test_v2f64.log10:
532 ; GISEL: test_v2f64.log10:
533 define %v2f64 @test_v2f64.log10(%v2f64 %a) {
536 %1 = call %v2f64 @llvm.log10.v2f64(%v2f64 %a)
540 ; FALLBACK-NOT: remark{{.*}}test_v2f64.log2
541 ; CHECK: test_v2f64.log2:
542 ; GISEL: test_v2f64.log2:
543 define %v2f64 @test_v2f64.log2(%v2f64 %a) {
546 %1 = call %v2f64 @llvm.log2.v2f64(%v2f64 %a)
550 ; FALLBACK-NOT: remark{{.*}}test_v2f64.fma
551 ; CHECK: test_v2f64.fma:
552 ; GISEL: test_v2f64.fma:
553 define %v2f64 @test_v2f64.fma(%v2f64 %a, %v2f64 %b, %v2f64 %c) {
556 %1 = call %v2f64 @llvm.fma.v2f64(%v2f64 %a, %v2f64 %b, %v2f64 %c)
560 declare %v2f64 @llvm.powi.v2f64.i32(%v2f64, i32) #0
561 declare %v2f64 @llvm.sin.v2f64(%v2f64) #0
562 declare %v2f64 @llvm.cos.v2f64(%v2f64) #0
563 declare %v2f64 @llvm.pow.v2f64(%v2f64, %v2f64) #0
564 declare %v2f64 @llvm.exp.v2f64(%v2f64) #0
565 declare %v2f64 @llvm.exp2.v2f64(%v2f64) #0
566 declare %v2f64 @llvm.log.v2f64(%v2f64) #0
567 declare %v2f64 @llvm.log10.v2f64(%v2f64) #0
568 declare %v2f64 @llvm.log2.v2f64(%v2f64) #0
569 declare %v2f64 @llvm.fma.v2f64(%v2f64, %v2f64, %v2f64) #0
571 attributes #0 = { nounwind readonly }