@@ -27,7 +27,7 @@ declare <16 x half> @_Z4sqrtDv16_Dh(<16 x half>)
27
27
define float @test_sqrt_f32 (float %arg ) {
28
28
; CHECK-LABEL: define float @test_sqrt_f32
29
29
; CHECK-SAME: (float [[ARG:%.*]]) {
30
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @_Z4sqrtf(float [[ARG]]), !fpmath !0
30
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @_Z4sqrtf(float [[ARG]]), !fpmath [[META0:![0-9]+]]
31
31
; CHECK-NEXT: ret float [[SQRT]]
32
32
;
33
33
%sqrt = tail call float @_Z4sqrtf (float %arg ), !fpmath !0
@@ -37,7 +37,7 @@ define float @test_sqrt_f32(float %arg) {
37
37
define <2 x float > @test_sqrt_v2f32 (<2 x float > %arg ) {
38
38
; CHECK-LABEL: define <2 x float> @test_sqrt_v2f32
39
39
; CHECK-SAME: (<2 x float> [[ARG:%.*]]) {
40
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]), !fpmath !0
40
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]), !fpmath [[META0]]
41
41
; CHECK-NEXT: ret <2 x float> [[SQRT]]
42
42
;
43
43
%sqrt = tail call <2 x float > @_Z4sqrtDv2_f (<2 x float > %arg ), !fpmath !0
@@ -47,7 +47,7 @@ define <2 x float> @test_sqrt_v2f32(<2 x float> %arg) {
47
47
define <3 x float > @test_sqrt_v3f32 (<3 x float > %arg ) {
48
48
; CHECK-LABEL: define <3 x float> @test_sqrt_v3f32
49
49
; CHECK-SAME: (<3 x float> [[ARG:%.*]]) {
50
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call <3 x float> @_Z4sqrtDv3_f(<3 x float> [[ARG]]), !fpmath !0
50
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call <3 x float> @_Z4sqrtDv3_f(<3 x float> [[ARG]]), !fpmath [[META0]]
51
51
; CHECK-NEXT: ret <3 x float> [[SQRT]]
52
52
;
53
53
%sqrt = tail call <3 x float > @_Z4sqrtDv3_f (<3 x float > %arg ), !fpmath !0
@@ -57,7 +57,7 @@ define <3 x float> @test_sqrt_v3f32(<3 x float> %arg) {
57
57
define <4 x float > @test_sqrt_v4f32 (<4 x float > %arg ) {
58
58
; CHECK-LABEL: define <4 x float> @test_sqrt_v4f32
59
59
; CHECK-SAME: (<4 x float> [[ARG:%.*]]) {
60
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call <4 x float> @_Z4sqrtDv4_f(<4 x float> [[ARG]]), !fpmath !0
60
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call <4 x float> @_Z4sqrtDv4_f(<4 x float> [[ARG]]), !fpmath [[META0]]
61
61
; CHECK-NEXT: ret <4 x float> [[SQRT]]
62
62
;
63
63
%sqrt = tail call <4 x float > @_Z4sqrtDv4_f (<4 x float > %arg ), !fpmath !0
@@ -67,7 +67,7 @@ define <4 x float> @test_sqrt_v4f32(<4 x float> %arg) {
67
67
define <8 x float > @test_sqrt_v8f32 (<8 x float > %arg ) {
68
68
; CHECK-LABEL: define <8 x float> @test_sqrt_v8f32
69
69
; CHECK-SAME: (<8 x float> [[ARG:%.*]]) {
70
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call <8 x float> @_Z4sqrtDv8_f(<8 x float> [[ARG]]), !fpmath !0
70
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call <8 x float> @_Z4sqrtDv8_f(<8 x float> [[ARG]]), !fpmath [[META0]]
71
71
; CHECK-NEXT: ret <8 x float> [[SQRT]]
72
72
;
73
73
%sqrt = tail call <8 x float > @_Z4sqrtDv8_f (<8 x float > %arg ), !fpmath !0
@@ -77,7 +77,7 @@ define <8 x float> @test_sqrt_v8f32(<8 x float> %arg) {
77
77
define <16 x float > @test_sqrt_v16f32 (<16 x float > %arg ) {
78
78
; CHECK-LABEL: define <16 x float> @test_sqrt_v16f32
79
79
; CHECK-SAME: (<16 x float> [[ARG:%.*]]) {
80
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call <16 x float> @_Z4sqrtDv16_f(<16 x float> [[ARG]]), !fpmath !0
80
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call <16 x float> @_Z4sqrtDv16_f(<16 x float> [[ARG]]), !fpmath [[META0]]
81
81
; CHECK-NEXT: ret <16 x float> [[SQRT]]
82
82
;
83
83
%sqrt = tail call <16 x float > @_Z4sqrtDv16_f (<16 x float > %arg ), !fpmath !0
@@ -267,7 +267,7 @@ define <16 x half> @test_sqrt_v16f16(<16 x half> %arg) {
267
267
define float @test_sqrt_f32_nobuiltin_callsite (float %arg ) {
268
268
; CHECK-LABEL: define float @test_sqrt_f32_nobuiltin_callsite
269
269
; CHECK-SAME: (float [[ARG:%.*]]) {
270
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @_Z4sqrtf(float [[ARG]]) #[[ATTR2:[0-9]+]], !fpmath !0
270
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @_Z4sqrtf(float [[ARG]]) #[[ATTR2:[0-9]+]], !fpmath [[META0]]
271
271
; CHECK-NEXT: ret float [[SQRT]]
272
272
;
273
273
%sqrt = tail call float @_Z4sqrtf (float %arg ) #0 , !fpmath !0
@@ -277,7 +277,7 @@ define float @test_sqrt_f32_nobuiltin_callsite(float %arg) {
277
277
define <2 x float > @test_sqrt_v2f32_nobuiltin_callsite (<2 x float > %arg ) {
278
278
; CHECK-LABEL: define <2 x float> @test_sqrt_v2f32_nobuiltin_callsite
279
279
; CHECK-SAME: (<2 x float> [[ARG:%.*]]) {
280
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]) #[[ATTR2]], !fpmath !0
280
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]) #[[ATTR2]], !fpmath [[META0]]
281
281
; CHECK-NEXT: ret <2 x float> [[SQRT]]
282
282
;
283
283
%sqrt = tail call <2 x float > @_Z4sqrtDv2_f (<2 x float > %arg ) #0 , !fpmath !0
@@ -308,7 +308,7 @@ define <2 x float> @test_sqrt_cr_v2f32_nobuiltin_callsite(<2 x float> %arg) {
308
308
define float @test_sqrt_f32_nobuiltins (float %arg ) #1 {
309
309
; CHECK-LABEL: define float @test_sqrt_f32_nobuiltins
310
310
; CHECK-SAME: (float [[ARG:%.*]]) #[[ATTR0:[0-9]+]] {
311
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @_Z4sqrtf(float [[ARG]]) #[[ATTR2]], !fpmath !0
311
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @_Z4sqrtf(float [[ARG]]) #[[ATTR2]], !fpmath [[META0]]
312
312
; CHECK-NEXT: ret float [[SQRT]]
313
313
;
314
314
%sqrt = tail call float @_Z4sqrtf (float %arg ) #0 , !fpmath !0
@@ -318,7 +318,7 @@ define float @test_sqrt_f32_nobuiltins(float %arg) #1 {
318
318
define <2 x float > @test_sqrt_v2f32_nobuiltins (<2 x float > %arg ) #1 {
319
319
; CHECK-LABEL: define <2 x float> @test_sqrt_v2f32_nobuiltins
320
320
; CHECK-SAME: (<2 x float> [[ARG:%.*]]) #[[ATTR0]] {
321
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]) #[[ATTR2]], !fpmath !0
321
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]) #[[ATTR2]], !fpmath [[META0]]
322
322
; CHECK-NEXT: ret <2 x float> [[SQRT]]
323
323
;
324
324
%sqrt = tail call <2 x float > @_Z4sqrtDv2_f (<2 x float > %arg ) #0 , !fpmath !0
@@ -348,7 +348,7 @@ define <2 x float> @test_sqrt_cr_v2f32_nobuiltins(<2 x float> %arg) #1 {
348
348
define float @test_sqrt_f32_preserve_flags (float %arg ) {
349
349
; CHECK-LABEL: define float @test_sqrt_f32_preserve_flags
350
350
; CHECK-SAME: (float [[ARG:%.*]]) {
351
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call nnan ninf float @_Z4sqrtf(float [[ARG]]), !fpmath !0
351
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call nnan ninf float @_Z4sqrtf(float [[ARG]]), !fpmath [[META0]]
352
352
; CHECK-NEXT: ret float [[SQRT]]
353
353
;
354
354
%sqrt = tail call nnan ninf float @_Z4sqrtf (float %arg ), !fpmath !0
@@ -358,7 +358,7 @@ define float @test_sqrt_f32_preserve_flags(float %arg) {
358
358
define <2 x float > @test_sqrt_v2f32_preserve_flags (<2 x float > %arg ) {
359
359
; CHECK-LABEL: define <2 x float> @test_sqrt_v2f32_preserve_flags
360
360
; CHECK-SAME: (<2 x float> [[ARG:%.*]]) {
361
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call nnan nsz contract <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]), !fpmath !0
361
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call nnan nsz contract <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]), !fpmath [[META0]]
362
362
; CHECK-NEXT: ret <2 x float> [[SQRT]]
363
363
;
364
364
%sqrt = tail call contract nsz nnan <2 x float > @_Z4sqrtDv2_f (<2 x float > %arg ), !fpmath !0
@@ -368,7 +368,7 @@ define <2 x float> @test_sqrt_v2f32_preserve_flags(<2 x float> %arg) {
368
368
define float @test_sqrt_f32_preserve_flags_md (float %arg ) {
369
369
; CHECK-LABEL: define float @test_sqrt_f32_preserve_flags_md
370
370
; CHECK-SAME: (float [[ARG:%.*]]) {
371
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call nnan ninf float @_Z4sqrtf(float [[ARG]]), !fpmath !0 , !foo !1
371
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call nnan ninf float @_Z4sqrtf(float [[ARG]]), !fpmath [[META0]] , !foo [[META1:![0-9]+]]
372
372
; CHECK-NEXT: ret float [[SQRT]]
373
373
;
374
374
%sqrt = tail call nnan ninf float @_Z4sqrtf (float %arg ), !fpmath !0 , !foo !1
@@ -378,7 +378,7 @@ define float @test_sqrt_f32_preserve_flags_md(float %arg) {
378
378
define <2 x float > @test_sqrt_v2f32_preserve_flags_md (<2 x float > %arg ) {
379
379
; CHECK-LABEL: define <2 x float> @test_sqrt_v2f32_preserve_flags_md
380
380
; CHECK-SAME: (<2 x float> [[ARG:%.*]]) {
381
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call nnan nsz contract <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]), !fpmath !0 , !foo !1
381
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call nnan nsz contract <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]), !fpmath [[META0]] , !foo [[META1]]
382
382
; CHECK-NEXT: ret <2 x float> [[SQRT]]
383
383
;
384
384
%sqrt = tail call contract nsz nnan <2 x float > @_Z4sqrtDv2_f (<2 x float > %arg ), !fpmath !0 , !foo !1
@@ -422,7 +422,7 @@ define float @test_libm_sqrt_f32(float %arg) {
422
422
define float @test_libm_sqrt_f32_fpmath (float %arg ) {
423
423
; CHECK-LABEL: define float @test_libm_sqrt_f32_fpmath
424
424
; CHECK-SAME: (float [[ARG:%.*]]) {
425
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @sqrtf(float [[ARG]]), !fpmath !0
425
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @sqrtf(float [[ARG]]), !fpmath [[META0]]
426
426
; CHECK-NEXT: ret float [[SQRT]]
427
427
;
428
428
%sqrt = tail call float @sqrtf (float %arg ), !fpmath !0
@@ -442,7 +442,7 @@ define double @test_libm_sqrt_f64(double %arg) {
442
442
define double @test_libm_sqrt_f64_fpmath (double %arg ) {
443
443
; CHECK-LABEL: define double @test_libm_sqrt_f64_fpmath
444
444
; CHECK-SAME: (double [[ARG:%.*]]) {
445
- ; CHECK-NEXT: [[SQRT:%.*]] = tail call double @sqrt(double [[ARG]]), !fpmath !0
445
+ ; CHECK-NEXT: [[SQRT:%.*]] = tail call double @sqrt(double [[ARG]]), !fpmath [[META0]]
446
446
; CHECK-NEXT: ret double [[SQRT]]
447
447
;
448
448
%sqrt = tail call double @sqrt (double %arg ), !fpmath !0
0 commit comments