Debian Codegraph @

llvm/test/CodeGen/PowerPC/lower-scalar-mass-nofast.ll

raw
1 ; RUN: llc -enable-ppc-gen-scalar-mass -O3 -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s
2 ; RUN: llc -enable-ppc-gen-scalar-mass -O3 -mtriple=powerpc-ibm-aix-xcoff < %s | FileCheck %s
3
4 declare float @acosf (float);
5 declare float @acoshf (float);
6 declare float @asinf (float);
7 declare float @asinhf (float);
8 declare float @atan2f (float, float);
9 declare float @atanf (float);
10 declare float @atanhf (float);
11 declare float @cbrtf (float);
12 declare float @copysignf (float, float);
13 declare float @cosf (float);
14 declare float @coshf (float);
15 declare float @erfcf (float);
16 declare float @erff (float);
17 declare float @expf (float);
18 declare float @expm1f (float);
19 declare float @hypotf (float, float);
20 declare float @lgammaf (float);
21 declare float @log10f (float);
22 declare float @log1pf (float);
23 declare float @logf (float);
24 declare float @powf (float, float);
25 declare float @rintf (float);
26 declare float @sinf (float);
27 declare float @sinhf (float);
28 declare float @tanf (float);
29 declare float @tanhf (float);
30 declare double @acos (double);
31 declare double @acosh (double);
32 declare double @anint (double);
33 declare double @asin (double);
34 declare double @asinh (double);
35 declare double @atan (double);
36 declare double @atan2 (double);
37 declare double @atanh (double);
38 declare double @cbrt (double);
39 declare double @copysign (double, double);
40 declare double @cos (double);
41 declare double @cosh (double);
42 declare double @cosisin (double);
43 declare double @dnint (double);
44 declare double @erf (double);
45 declare double @erfc (double);
46 declare double @exp (double);
47 declare double @expm1 (double);
48 declare double @hypot (double, double);
49 declare double @lgamma (double);
50 declare double @log (double);
51 declare double @log10 (double);
52 declare double @log1p (double);
53 declare double @pow (double, double);
54 declare double @rsqrt (double);
55 declare double @sin (double);
56 declare double @sincos (double);
57 declare double @sinh (double);
58 declare double @sqrt (double);
59 declare double @tan (double);
60 declare double @tanh (double);
61 declare float @__acosf_finite (float);
62 declare float @__acoshf_finite (float);
63 declare float @__asinf_finite (float);
64 declare float @__atan2f_finite (float, float);
65 declare float @__atanhf_finite (float);
66 declare float @__coshf_finite (float);
67 declare float @__expf_finite (float);
68 declare float @__logf_finite (float);
69 declare float @__log10f_finite (float);
70 declare float @__powf_finite (float, float);
71 declare float @__sinhf_finite (float);
72 declare double @__acos_finite (double);
73 declare double @__acosh_finite (double);
74 declare double @__asin_finite (double);
75 declare double @__atan2_finite (double, double);
76 declare double @__atanh_finite (double);
77 declare double @__cosh_finite (double);
78 declare double @__exp_finite (double);
79 declare double @__log_finite (double);
80 declare double @__log10_finite (double);
81 declare double @__pow_finite (double, double);
82 declare double @__sinh_finite (double);
83
84 ; Without nnan ninf afn nsz flags on the call instruction
85 define float @acosf_f32_nofast(float %a) {
86 ; CHECK-LABEL: acosf_f32_nofast
87 ; CHECK-NOT: __xl_acosf_finite
88 ; CHECK: blr
89 entry:
90 %call = tail call float @acosf(float %a)
91 ret float %call
92 }
93
94 ; Without nnan ninf afn nsz flags on the call instruction
95 define float @acoshf_f32_nofast(float %a) {
96 ; CHECK-LABEL: acoshf_f32_nofast
97 ; CHECK-NOT: __xl_acoshf_finite
98 ; CHECK: blr
99 entry:
100 %call = tail call float @acoshf(float %a)
101 ret float %call
102 }
103
104 ; Without nnan ninf afn nsz flags on the call instruction
105 define float @asinf_f32_nofast(float %a) {
106 ; CHECK-LABEL: asinf_f32_nofast
107 ; CHECK-NOT: __xl_asinf_finite
108 ; CHECK: blr
109 entry:
110 %call = tail call float @asinf(float %a)
111 ret float %call
112 }
113
114 ; Without nnan ninf afn nsz flags on the call instruction
115 define float @asinhf_f32_nofast(float %a) {
116 ; CHECK-LABEL: asinhf_f32_nofast
117 ; CHECK-NOT: __xl_asinhf_finite
118 ; CHECK: blr
119 entry:
120 %call = tail call float @asinhf(float %a)
121 ret float %call
122 }
123
124 ; Without nnan ninf afn nsz flags on the call instruction
125 define float @atan2f_f32_nofast(float %a, float %b) {
126 ; CHECK-LABEL: atan2f_f32_nofast
127 ; CHECK-NOT: __xl_atan2f_finite
128 ; CHECK: blr
129 entry:
130 %call = tail call float @atan2f(float %a, float %b)
131 ret float %call
132 }
133
134 ; Without nnan ninf afn nsz flags on the call instruction
135 define float @atanf_f32_nofast(float %a) {
136 ; CHECK-LABEL: atanf_f32_nofast
137 ; CHECK-NOT: __xl_atanf_finite
138 ; CHECK: blr
139 entry:
140 %call = tail call float @atanf(float %a)
141 ret float %call
142 }
143
144 ; Without nnan ninf afn nsz flags on the call instruction
145 define float @atanhf_f32_nofast(float %a) {
146 ; CHECK-LABEL: atanhf_f32_nofast
147 ; CHECK-NOT: __xl_atanhf_finite
148 ; CHECK: blr
149 entry:
150 %call = tail call float @atanhf(float %a)
151 ret float %call
152 }
153
154 ; Without nnan ninf afn nsz flags on the call instruction
155 define float @cbrtf_f32_nofast(float %a) {
156 ; CHECK-LABEL: cbrtf_f32_nofast
157 ; CHECK-NOT: __xl_cbrtf_finite
158 ; CHECK: blr
159 entry:
160 %call = tail call float @cbrtf(float %a)
161 ret float %call
162 }
163
164 ; Without nnan ninf afn nsz flags on the call instruction
165 define float @copysignf_f32_nofast(float %a, float %b) {
166 ; CHECK-LABEL: copysignf_f32_nofast
167 ; CHECK-NOT: __xl_copysignf_finite
168 ; CHECK: blr
169 entry:
170 %call = tail call float @copysignf(float %a, float %b)
171 ret float %call
172 }
173
174 ; Without nnan ninf afn nsz flags on the call instruction
175 define float @cosf_f32_nofast(float %a) {
176 ; CHECK-LABEL: cosf_f32_nofast
177 ; CHECK-NOT: __xl_cosf_finite
178 ; CHECK: blr
179 entry:
180 %call = tail call float @cosf(float %a)
181 ret float %call
182 }
183
184 ; Without nnan ninf afn nsz flags on the call instruction
185 define float @coshf_f32_nofast(float %a) {
186 ; CHECK-LABEL: coshf_f32_nofast
187 ; CHECK-NOT: __xl_coshf_finite
188 ; CHECK: blr
189 entry:
190 %call = tail call float @coshf(float %a)
191 ret float %call
192 }
193
194 ; Without nnan ninf afn nsz flags on the call instruction
195 define float @erfcf_f32_nofast(float %a) {
196 ; CHECK-LABEL: erfcf_f32_nofast
197 ; CHECK-NOT: __xl_erfcf_finite
198 ; CHECK: blr
199 entry:
200 %call = tail call float @erfcf(float %a)
201 ret float %call
202 }
203
204 ; Without nnan ninf afn nsz flags on the call instruction
205 define float @erff_f32_nofast(float %a) {
206 ; CHECK-LABEL: erff_f32_nofast
207 ; CHECK-NOT: __xl_erff_finite
208 ; CHECK: blr
209 entry:
210 %call = tail call float @erff(float %a)
211 ret float %call
212 }
213
214 ; Without nnan ninf afn nsz flags on the call instruction
215 define float @expf_f32_nofast(float %a) {
216 ; CHECK-LABEL: expf_f32_nofast
217 ; CHECK-NOT: __xl_expf_finite
218 ; CHECK: blr
219 entry:
220 %call = tail call float @expf(float %a)
221 ret float %call
222 }
223
224 ; Without nnan ninf afn nsz flags on the call instruction
225 define float @expm1f_f32_nofast(float %a) {
226 ; CHECK-LABEL: expm1f_f32_nofast
227 ; CHECK-NOT: __xl_expm1f_finite
228 ; CHECK: blr
229 entry:
230 %call = tail call float @expm1f(float %a)
231 ret float %call
232 }
233
234 ; Without nnan ninf afn nsz flags on the call instruction
235 define float @hypotf_f32_nofast(float %a, float %b) {
236 ; CHECK-LABEL: hypotf_f32_nofast
237 ; CHECK-NOT: __xl_hypotf_finite
238 ; CHECK: blr
239 entry:
240 %call = tail call float @hypotf(float %a, float %b)
241 ret float %call
242 }
243
244 ; Without nnan ninf afn nsz flags on the call instruction
245 define float @lgammaf_f32_nofast(float %a) {
246 ; CHECK-LABEL: lgammaf_f32_nofast
247 ; CHECK-NOT: __xl_lgammaf_finite
248 ; CHECK: blr
249 entry:
250 %call = tail call float @lgammaf(float %a)
251 ret float %call
252 }
253
254 ; Without nnan ninf afn nsz flags on the call instruction
255 define float @log10f_f32_nofast(float %a) {
256 ; CHECK-LABEL: log10f_f32_nofast
257 ; CHECK-NOT: __xl_log10f_finite
258 ; CHECK: blr
259 entry:
260 %call = tail call float @log10f(float %a)
261 ret float %call
262 }
263
264 ; Without nnan ninf afn nsz flags on the call instruction
265 define float @log1pf_f32_nofast(float %a) {
266 ; CHECK-LABEL: log1pf_f32_nofast
267 ; CHECK-NOT: __xl_log1pf_finite
268 ; CHECK: blr
269 entry:
270 %call = tail call float @log1pf(float %a)
271 ret float %call
272 }
273
274 ; Without nnan ninf afn nsz flags on the call instruction
275 define float @logf_f32_nofast(float %a) {
276 ; CHECK-LABEL: logf_f32_nofast
277 ; CHECK-NOT: __xl_logf_finite
278 ; CHECK: blr
279 entry:
280 %call = tail call float @logf(float %a)
281 ret float %call
282 }
283
284 ; Without nnan ninf afn nsz flags on the call instruction
285 define float @powf_f32_nofast(float %a, float %b) {
286 ; CHECK-LABEL: powf_f32_nofast
287 ; CHECK-NOT: __xl_powf_finite
288 ; CHECK: blr
289 entry:
290 %call = tail call float @powf(float %a, float %b)
291 ret float %call
292 }
293
294 ; Without nnan ninf afn nsz flags on the call instruction
295 define float @rintf_f32_nofast(float %a) {
296 ; CHECK-LABEL: rintf_f32_nofast
297 ; CHECK-NOT: __xl_rintf_finite
298 ; CHECK: blr
299 entry:
300 %call = tail call float @rintf(float %a)
301 ret float %call
302 }
303
304 ; Without nnan ninf afn nsz flags on the call instruction
305 define float @sinf_f32_nofast(float %a) {
306 ; CHECK-LABEL: sinf_f32_nofast
307 ; CHECK-NOT: __xl_sinf_finite
308 ; CHECK: blr
309 entry:
310 %call = tail call float @sinf(float %a)
311 ret float %call
312 }
313
314 ; Without nnan ninf afn nsz flags on the call instruction
315 define float @sinhf_f32_nofast(float %a) {
316 ; CHECK-LABEL: sinhf_f32_nofast
317 ; CHECK-NOT: __xl_sinhf_finite
318 ; CHECK: blr
319 entry:
320 %call = tail call float @sinhf(float %a)
321 ret float %call
322 }
323
324 ; Without nnan ninf afn nsz flags on the call instruction
325 define float @tanf_f32_nofast(float %a) {
326 ; CHECK-LABEL: tanf_f32_nofast
327 ; CHECK-NOT: __xl_tanf_finite
328 ; CHECK: blr
329 entry:
330 %call = tail call float @tanf(float %a)
331 ret float %call
332 }
333
334 ; Without nnan ninf afn nsz flags on the call instruction
335 define float @tanhf_f32_nofast(float %a) {
336 ; CHECK-LABEL: tanhf_f32_nofast
337 ; CHECK-NOT: __xl_tanhf_finite
338 ; CHECK: blr
339 entry:
340 %call = tail call float @tanhf(float %a)
341 ret float %call
342 }
343
344 ; Without nnan ninf afn nsz flags on the call instruction
345 define double @acos_f64_nofast(double %a) {
346 ; CHECK-LABEL: acos_f64_nofast
347 ; CHECK-NOT: __xl_acos_finite
348 ; CHECK: blr
349 entry:
350 %call = tail call double @acos(double %a)
351 ret double %call
352 }
353
354 ; Without nnan ninf afn nsz flags on the call instruction
355 define double @acosh_f64_nofast(double %a) {
356 ; CHECK-LABEL: acosh_f64_nofast
357 ; CHECK-NOT: __xl_acosh_finite
358 ; CHECK: blr
359 entry:
360 %call = tail call double @acosh(double %a)
361 ret double %call
362 }
363
364 ; Without nnan ninf afn nsz flags on the call instruction
365 define double @anint_f64_nofast(double %a) {
366 ; CHECK-LABEL: anint_f64_nofast
367 ; CHECK-NOT: __xl_anint_finite
368 ; CHECK: blr
369 entry:
370 %call = tail call double @anint(double %a)
371 ret double %call
372 }
373
374 ; Without nnan ninf afn nsz flags on the call instruction
375 define double @asin_f64_nofast(double %a) {
376 ; CHECK-LABEL: asin_f64_nofast
377 ; CHECK-NOT: __xl_asin_finite
378 ; CHECK: blr
379 entry:
380 %call = tail call double @asin(double %a)
381 ret double %call
382 }
383
384 ; Without nnan ninf afn nsz flags on the call instruction
385 define double @asinh_f64_nofast(double %a) {
386 ; CHECK-LABEL: asinh_f64_nofast
387 ; CHECK-NOT: __xl_asinh_finite
388 ; CHECK: blr
389 entry:
390 %call = tail call double @asinh(double %a)
391 ret double %call
392 }
393
394 ; Without nnan ninf afn nsz flags on the call instruction
395 define double @atan_f64_nofast(double %a) {
396 ; CHECK-LABEL: atan_f64_nofast
397 ; CHECK-NOT: __xl_atan_finite
398 ; CHECK: blr
399 entry:
400 %call = tail call double @atan(double %a)
401 ret double %call
402 }
403
404 ; Without nnan ninf afn nsz flags on the call instruction
405 define double @atan2_f64_nofast(double %a) {
406 ; CHECK-LABEL: atan2_f64_nofast
407 ; CHECK-NOT: __xl_atan2_finite
408 ; CHECK: blr
409 entry:
410 %call = tail call double @atan2(double %a)
411 ret double %call
412 }
413
414 ; Without nnan ninf afn nsz flags on the call instruction
415 define double @atanh_f64_nofast(double %a) {
416 ; CHECK-LABEL: atanh_f64_nofast
417 ; CHECK-NOT: __xl_atanh_finite
418 ; CHECK: blr
419 entry:
420 %call = tail call double @atanh(double %a)
421 ret double %call
422 }
423
424 ; Without nnan ninf afn nsz flags on the call instruction
425 define double @cbrt_f64_nofast(double %a) {
426 ; CHECK-LABEL: cbrt_f64_nofast
427 ; CHECK-NOT: __xl_cbrt_finite
428 ; CHECK: blr
429 entry:
430 %call = tail call double @cbrt(double %a)
431 ret double %call
432 }
433
434 ; Without nnan ninf afn nsz flags on the call instruction
435 define double @copysign_f64_nofast(double %a, double %b) {
436 ; CHECK-LABEL: copysign_f64_nofast
437 ; CHECK-NOT: __xl_copysign_finite
438 ; CHECK: blr
439 entry:
440 %call = tail call double @copysign(double %a, double %b)
441 ret double %call
442 }
443
444 ; Without nnan ninf afn nsz flags on the call instruction
445 define double @cos_f64_nofast(double %a) {
446 ; CHECK-LABEL: cos_f64_nofast
447 ; CHECK-NOT: __xl_cos_finite
448 ; CHECK: blr
449 entry:
450 %call = tail call double @cos(double %a)
451 ret double %call
452 }
453
454 ; Without nnan ninf afn nsz flags on the call instruction
455 define double @cosh_f64_nofast(double %a) {
456 ; CHECK-LABEL: cosh_f64_nofast
457 ; CHECK-NOT: __xl_cosh_finite
458 ; CHECK: blr
459 entry:
460 %call = tail call double @cosh(double %a)
461 ret double %call
462 }
463
464 ; Without nnan ninf afn nsz flags on the call instruction
465 define double @cosisin_f64_nofast(double %a) {
466 ; CHECK-LABEL: cosisin_f64_nofast
467 ; CHECK-NOT: __xl_cosisin_finite
468 ; CHECK: blr
469 entry:
470 %call = tail call double @cosisin(double %a)
471 ret double %call
472 }
473
474 ; Without nnan ninf afn nsz flags on the call instruction
475 define double @dnint_f64_nofast(double %a) {
476 ; CHECK-LABEL: dnint_f64_nofast
477 ; CHECK-NOT: __xl_dnint_finite
478 ; CHECK: blr
479 entry:
480 %call = tail call double @dnint(double %a)
481 ret double %call
482 }
483
484 ; Without nnan ninf afn nsz flags on the call instruction
485 define double @erf_f64_nofast(double %a) {
486 ; CHECK-LABEL: erf_f64_nofast
487 ; CHECK-NOT: __xl_erf_finite
488 ; CHECK: blr
489 entry:
490 %call = tail call double @erf(double %a)
491 ret double %call
492 }
493
494 ; Without nnan ninf afn nsz flags on the call instruction
495 define double @erfc_f64_nofast(double %a) {
496 ; CHECK-LABEL: erfc_f64_nofast
497 ; CHECK-NOT: __xl_erfc_finite
498 ; CHECK: blr
499 entry:
500 %call = tail call double @erfc(double %a)
501 ret double %call
502 }
503
504 ; Without nnan ninf afn nsz flags on the call instruction
505 define double @exp_f64_nofast(double %a) {
506 ; CHECK-LABEL: exp_f64_nofast
507 ; CHECK-NOT: __xl_exp_finite
508 ; CHECK: blr
509 entry:
510 %call = tail call double @exp(double %a)
511 ret double %call
512 }
513
514 ; Without nnan ninf afn nsz flags on the call instruction
515 define double @expm1_f64_nofast(double %a) {
516 ; CHECK-LABEL: expm1_f64_nofast
517 ; CHECK-NOT: __xl_expm1_finite
518 ; CHECK: blr
519 entry:
520 %call = tail call double @expm1(double %a)
521 ret double %call
522 }
523
524 ; Without nnan ninf afn nsz flags on the call instruction
525 define double @hypot_f64_nofast(double %a, double %b) {
526 ; CHECK-LABEL: hypot_f64_nofast
527 ; CHECK-NOT: __xl_hypot_finite
528 ; CHECK: blr
529 entry:
530 %call = tail call double @hypot(double %a, double %b)
531 ret double %call
532 }
533
534 ; Without nnan ninf afn nsz flags on the call instruction
535 define double @lgamma_f64_nofast(double %a) {
536 ; CHECK-LABEL: lgamma_f64_nofast
537 ; CHECK-NOT: __xl_lgamma_finite
538 ; CHECK: blr
539 entry:
540 %call = tail call double @lgamma(double %a)
541 ret double %call
542 }
543
544 ; Without nnan ninf afn nsz flags on the call instruction
545 define double @log_f64_nofast(double %a) {
546 ; CHECK-LABEL: log_f64_nofast
547 ; CHECK-NOT: __xl_log_finite
548 ; CHECK: blr
549 entry:
550 %call = tail call double @log(double %a)
551 ret double %call
552 }
553
554 ; Without nnan ninf afn nsz flags on the call instruction
555 define double @log10_f64_nofast(double %a) {
556 ; CHECK-LABEL: log10_f64_nofast
557 ; CHECK-NOT: __xl_log10_finite
558 ; CHECK: blr
559 entry:
560 %call = tail call double @log10(double %a)
561 ret double %call
562 }
563
564 ; Without nnan ninf afn nsz flags on the call instruction
565 define double @log1p_f64_nofast(double %a) {
566 ; CHECK-LABEL: log1p_f64_nofast
567 ; CHECK-NOT: __xl_log1p_finite
568 ; CHECK: blr
569 entry:
570 %call = tail call double @log1p(double %a)
571 ret double %call
572 }
573
574 ; Without nnan ninf afn nsz flags on the call instruction
575 define double @pow_f64_nofast(double %a, double %b) {
576 ; CHECK-LABEL: pow_f64_nofast
577 ; CHECK-NOT: __xl_pow_finite
578 ; CHECK: blr
579 entry:
580 %call = tail call double @pow(double %a, double %b)
581 ret double %call
582 }
583
584 ; Without nnan ninf afn nsz flags on the call instruction
585 define double @rsqrt_f64_nofast(double %a) {
586 ; CHECK-LABEL: rsqrt_f64_nofast
587 ; CHECK-NOT: __xl_rsqrt_finite
588 ; CHECK: blr
589 entry:
590 %call = tail call double @rsqrt(double %a)
591 ret double %call
592 }
593
594 ; Without nnan ninf afn nsz flags on the call instruction
595 define double @sin_f64_nofast(double %a) {
596 ; CHECK-LABEL: sin_f64_nofast
597 ; CHECK-NOT: __xl_sin_finite
598 ; CHECK: blr
599 entry:
600 %call = tail call double @sin(double %a)
601 ret double %call
602 }
603
604 ; Without nnan ninf afn nsz flags on the call instruction
605 define double @sincos_f64_nofast(double %a) {
606 ; CHECK-LABEL: sincos_f64_nofast
607 ; CHECK-NOT: __xl_sincos_finite
608 ; CHECK: blr
609 entry:
610 %call = tail call double @sincos(double %a)
611 ret double %call
612 }
613
614 ; Without nnan ninf afn nsz flags on the call instruction
615 define double @sinh_f64_nofast(double %a) {
616 ; CHECK-LABEL: sinh_f64_nofast
617 ; CHECK-NOT: __xl_sinh_finite
618 ; CHECK: blr
619 entry:
620 %call = tail call double @sinh(double %a)
621 ret double %call
622 }
623
624 ; Without nnan ninf afn nsz flags on the call instruction
625 define double @sqrt_f64_nofast(double %a) {
626 ; CHECK-LABEL: sqrt_f64_nofast
627 ; CHECK-NOT: __xl_sqrt_finite
628 ; CHECK: blr
629 entry:
630 %call = tail call double @sqrt(double %a)
631 ret double %call
632 }
633
634 ; Without nnan ninf afn nsz flags on the call instruction
635 define double @tan_f64_nofast(double %a) {
636 ; CHECK-LABEL: tan_f64_nofast
637 ; CHECK-NOT: __xl_tan_finite
638 ; CHECK: blr
639 entry:
640 %call = tail call double @tan(double %a)
641 ret double %call
642 }
643
644 ; Without nnan ninf afn nsz flags on the call instruction
645 define double @tanh_f64_nofast(double %a) {
646 ; CHECK-LABEL: tanh_f64_nofast
647 ; CHECK-NOT: __xl_tanh_finite
648 ; CHECK: blr
649 entry:
650 %call = tail call double @tanh(double %a)
651 ret double %call
652 }
653
654 ; Without nnan ninf afn nsz flags on the call instruction
655 define float @__acosf_finite_f32_nofast(float %a) {
656 ; CHECK-LABEL: __acosf_finite_f32_nofast
657 ; CHECK-NOT: __xl_acosf_finite
658 ; CHECK: blr
659 entry:
660 %call = tail call float @__acosf_finite(float %a)
661 ret float %call
662 }
663
664 ; Without nnan ninf afn nsz flags on the call instruction
665 define float @__acoshf_finite_f32_nofast(float %a) {
666 ; CHECK-LABEL: __acoshf_finite_f32_nofast
667 ; CHECK-NOT: __xl_acoshf_finite
668 ; CHECK: blr
669 entry:
670 %call = tail call float @__acoshf_finite(float %a)
671 ret float %call
672 }
673
674 ; Without nnan ninf afn nsz flags on the call instruction
675 define float @__asinf_finite_f32_nofast(float %a) {
676 ; CHECK-LABEL: __asinf_finite_f32_nofast
677 ; CHECK-NOT: __xl_asinf_finite
678 ; CHECK: blr
679 entry:
680 %call = tail call float @__asinf_finite(float %a)
681 ret float %call
682 }
683
684 ; Without nnan ninf afn nsz flags on the call instruction
685 define float @__atan2f_finite_f32_nofast(float %a, float %b) {
686 ; CHECK-LABEL: __atan2f_finite_f32_nofast
687 ; CHECK-NOT: __xl_atan2f_finite
688 ; CHECK: blr
689 entry:
690 %call = tail call float @__atan2f_finite(float %a, float %b)
691 ret float %call
692 }
693
694 ; Without nnan ninf afn nsz flags on the call instruction
695 define float @__atanhf_finite_f32_nofast(float %a) {
696 ; CHECK-LABEL: __atanhf_finite_f32_nofast
697 ; CHECK-NOT: __xl_atanhf_finite
698 ; CHECK: blr
699 entry:
700 %call = tail call float @__atanhf_finite(float %a)
701 ret float %call
702 }
703
704 ; Without nnan ninf afn nsz flags on the call instruction
705 define float @__coshf_finite_f32_nofast(float %a) {
706 ; CHECK-LABEL: __coshf_finite_f32_nofast
707 ; CHECK-NOT: __xl_coshf_finite
708 ; CHECK: blr
709 entry:
710 %call = tail call float @__coshf_finite(float %a)
711 ret float %call
712 }
713
714 ; Without nnan ninf afn nsz flags on the call instruction
715 define float @__expf_finite_f32_nofast(float %a) {
716 ; CHECK-LABEL: __expf_finite_f32_nofast
717 ; CHECK-NOT: __xl_expf_finite
718 ; CHECK: blr
719 entry:
720 %call = tail call float @__expf_finite(float %a)
721 ret float %call
722 }
723
724 ; Without nnan ninf afn nsz flags on the call instruction
725 define float @__logf_finite_f32_nofast(float %a) {
726 ; CHECK-LABEL: __logf_finite_f32_nofast
727 ; CHECK-NOT: __xl_logf_finite
728 ; CHECK: blr
729 entry:
730 %call = tail call float @__logf_finite(float %a)
731 ret float %call
732 }
733
734 ; Without nnan ninf afn nsz flags on the call instruction
735 define float @__log10f_finite_f32_nofast(float %a) {
736 ; CHECK-LABEL: __log10f_finite_f32_nofast
737 ; CHECK-NOT: __xl_log10f_finite
738 ; CHECK: blr
739 entry:
740 %call = tail call float @__log10f_finite(float %a)
741 ret float %call
742 }
743
744 ; Without nnan ninf afn nsz flags on the call instruction
745 define float @__powf_finite_f32_nofast(float %a, float %b) {
746 ; CHECK-LABEL: __powf_finite_f32_nofast
747 ; CHECK-NOT: __xl_powf_finite
748 ; CHECK: blr
749 entry:
750 %call = tail call float @__powf_finite(float %a, float %b)
751 ret float %call
752 }
753
754 ; Without nnan ninf afn nsz flags on the call instruction
755 define float @__sinhf_finite_f32_nofast(float %a) {
756 ; CHECK-LABEL: __sinhf_finite_f32_nofast
757 ; CHECK-NOT: __xl_sinhf_finite
758 ; CHECK: blr
759 entry:
760 %call = tail call float @__sinhf_finite(float %a)
761 ret float %call
762 }
763
764 ; Without nnan ninf afn nsz flags on the call instruction
765 define double @__acos_finite_f64_nofast(double %a) {
766 ; CHECK-LABEL: __acos_finite_f64_nofast
767 ; CHECK-NOT: __xl_acos_finite
768 ; CHECK: blr
769 entry:
770 %call = tail call double @__acos_finite(double %a)
771 ret double %call
772 }
773
774 ; Without nnan ninf afn nsz flags on the call instruction
775 define double @__acosh_finite_f64_nofast(double %a) {
776 ; CHECK-LABEL: __acosh_finite_f64_nofast
777 ; CHECK-NOT: __xl_acosh_finite
778 ; CHECK: blr
779 entry:
780 %call = tail call double @__acosh_finite(double %a)
781 ret double %call
782 }
783
784 ; Without nnan ninf afn nsz flags on the call instruction
785 define double @__asin_finite_f64_nofast(double %a) {
786 ; CHECK-LABEL: __asin_finite_f64_nofast
787 ; CHECK-NOT: __xl_asin_finite
788 ; CHECK: blr
789 entry:
790 %call = tail call double @__asin_finite(double %a)
791 ret double %call
792 }
793
794 ; Without nnan ninf afn nsz flags on the call instruction
795 define double @__atan2_finite_f64_nofast(double %a, double %b) {
796 ; CHECK-LABEL: __atan2_finite_f64_nofast
797 ; CHECK-NOT: __xl_atan2_finite
798 ; CHECK: blr
799 entry:
800 %call = tail call double @__atan2_finite(double %a, double %b)
801 ret double %call
802 }
803
804 ; Without nnan ninf afn nsz flags on the call instruction
805 define double @__atanh_finite_f64_nofast(double %a) {
806 ; CHECK-LABEL: __atanh_finite_f64_nofast
807 ; CHECK-NOT: __xl_atanh_finite
808 ; CHECK: blr
809 entry:
810 %call = tail call double @__atanh_finite(double %a)
811 ret double %call
812 }
813
814 ; Without nnan ninf afn nsz flags on the call instruction
815 define double @__cosh_finite_f64_nofast(double %a) {
816 ; CHECK-LABEL: __cosh_finite_f64_nofast
817 ; CHECK-NOT: __xl_cosh_finite
818 ; CHECK: blr
819 entry:
820 %call = tail call double @__cosh_finite(double %a)
821 ret double %call
822 }
823
824 ; Without nnan ninf afn nsz flags on the call instruction
825 define double @__exp_finite_f64_nofast(double %a) {
826 ; CHECK-LABEL: __exp_finite_f64_nofast
827 ; CHECK-NOT: __xl_exp_finite
828 ; CHECK: blr
829 entry:
830 %call = tail call double @__exp_finite(double %a)
831 ret double %call
832 }
833
834 ; Without nnan ninf afn nsz flags on the call instruction
835 define double @__log_finite_f64_nofast(double %a) {
836 ; CHECK-LABEL: __log_finite_f64_nofast
837 ; CHECK-NOT: __xl_log_finite
838 ; CHECK: blr
839 entry:
840 %call = tail call double @__log_finite(double %a)
841 ret double %call
842 }
843
844 ; Without nnan ninf afn nsz flags on the call instruction
845 define double @__log10_finite_f64_nofast(double %a) {
846 ; CHECK-LABEL: __log10_finite_f64_nofast
847 ; CHECK-NOT: __xl_log10_finite
848 ; CHECK: blr
849 entry:
850 %call = tail call double @__log10_finite(double %a)
851 ret double %call
852 }
853
854 ; Without nnan ninf afn nsz flags on the call instruction
855 define double @__pow_finite_f64_nofast(double %a, double %b) {
856 ; CHECK-LABEL: __pow_finite_f64_nofast
857 ; CHECK-NOT: __xl_pow_finite
858 ; CHECK: blr
859 entry:
860 %call = tail call double @__pow_finite(double %a, double %b)
861 ret double %call
862 }
863
864 ; Without nnan ninf afn nsz flags on the call instruction
865 define double @__sinh_finite_f64_nofast(double %a) {
866 ; CHECK-LABEL: __sinh_finite_f64_nofast
867 ; CHECK-NOT: __xl_sinh_finite
868 ; CHECK: blr
869 entry:
870 %call = tail call double @__sinh_finite(double %a)
871 ret double %call
872 }
873