@@ -1479,14 +1479,14 @@ extern "C" __device__ double test_lgamma(double x) {
1479
1479
1480
1480
// DEFAULT-LABEL: @test_llrintf(
1481
1481
// DEFAULT-NEXT: entry:
1482
- // DEFAULT-NEXT: [[CALL_I :%.*]] = tail call contract float @__ocml_rint_f32 (float noundef [[X:%.*]]) #[[ATTR14]]
1483
- // DEFAULT-NEXT: [[CONV_I:%.*]] = fptosi float [[CALL_I ]] to i64
1482
+ // DEFAULT-NEXT: [[TMP0 :%.*]] = tail call contract float @llvm.rint.f32 (float [[X:%.*]])
1483
+ // DEFAULT-NEXT: [[CONV_I:%.*]] = fptosi float [[TMP0 ]] to i64
1484
1484
// DEFAULT-NEXT: ret i64 [[CONV_I]]
1485
1485
//
1486
1486
// FINITEONLY-LABEL: @test_llrintf(
1487
1487
// FINITEONLY-NEXT: entry:
1488
- // FINITEONLY-NEXT: [[CALL_I :%.*]] = tail call nnan ninf contract nofpclass(nan inf) float @__ocml_rint_f32 (float noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR14]]
1489
- // FINITEONLY-NEXT: [[CONV_I:%.*]] = fptosi float [[CALL_I ]] to i64
1488
+ // FINITEONLY-NEXT: [[TMP0 :%.*]] = tail call nnan ninf contract float @llvm.rint.f32 (float [[X:%.*]])
1489
+ // FINITEONLY-NEXT: [[CONV_I:%.*]] = fptosi float [[TMP0 ]] to i64
1490
1490
// FINITEONLY-NEXT: ret i64 [[CONV_I]]
1491
1491
//
1492
1492
extern " C" __device__ long long int test_llrintf (float x) {
@@ -1495,14 +1495,14 @@ extern "C" __device__ long long int test_llrintf(float x) {
1495
1495
1496
1496
// DEFAULT-LABEL: @test_llrint(
1497
1497
// DEFAULT-NEXT: entry:
1498
- // DEFAULT-NEXT: [[CALL_I :%.*]] = tail call contract double @__ocml_rint_f64 (double noundef [[X:%.*]]) #[[ATTR14]]
1499
- // DEFAULT-NEXT: [[CONV_I:%.*]] = fptosi double [[CALL_I ]] to i64
1498
+ // DEFAULT-NEXT: [[TMP0 :%.*]] = tail call contract double @llvm.rint.f64 (double [[X:%.*]])
1499
+ // DEFAULT-NEXT: [[CONV_I:%.*]] = fptosi double [[TMP0 ]] to i64
1500
1500
// DEFAULT-NEXT: ret i64 [[CONV_I]]
1501
1501
//
1502
1502
// FINITEONLY-LABEL: @test_llrint(
1503
1503
// FINITEONLY-NEXT: entry:
1504
- // FINITEONLY-NEXT: [[CALL_I :%.*]] = tail call nnan ninf contract nofpclass(nan inf) double @__ocml_rint_f64 (double noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR14]]
1505
- // FINITEONLY-NEXT: [[CONV_I:%.*]] = fptosi double [[CALL_I ]] to i64
1504
+ // FINITEONLY-NEXT: [[TMP0 :%.*]] = tail call nnan ninf contract double @llvm.rint.f64 (double [[X:%.*]])
1505
+ // FINITEONLY-NEXT: [[CONV_I:%.*]] = fptosi double [[TMP0 ]] to i64
1506
1506
// FINITEONLY-NEXT: ret i64 [[CONV_I]]
1507
1507
//
1508
1508
extern " C" __device__ long long int test_llrint (double x) {
@@ -1655,14 +1655,14 @@ extern "C" __device__ double test_logb(double x) {
1655
1655
1656
1656
// DEFAULT-LABEL: @test_lrintf(
1657
1657
// DEFAULT-NEXT: entry:
1658
- // DEFAULT-NEXT: [[CALL_I :%.*]] = tail call contract float @__ocml_rint_f32 (float noundef [[X:%.*]]) #[[ATTR14]]
1659
- // DEFAULT-NEXT: [[CONV_I:%.*]] = fptosi float [[CALL_I ]] to i64
1658
+ // DEFAULT-NEXT: [[TMP0 :%.*]] = tail call contract float @llvm.rint.f32 (float [[X:%.*]])
1659
+ // DEFAULT-NEXT: [[CONV_I:%.*]] = fptosi float [[TMP0 ]] to i64
1660
1660
// DEFAULT-NEXT: ret i64 [[CONV_I]]
1661
1661
//
1662
1662
// FINITEONLY-LABEL: @test_lrintf(
1663
1663
// FINITEONLY-NEXT: entry:
1664
- // FINITEONLY-NEXT: [[CALL_I :%.*]] = tail call nnan ninf contract nofpclass(nan inf) float @__ocml_rint_f32 (float noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR14]]
1665
- // FINITEONLY-NEXT: [[CONV_I:%.*]] = fptosi float [[CALL_I ]] to i64
1664
+ // FINITEONLY-NEXT: [[TMP0 :%.*]] = tail call nnan ninf contract float @llvm.rint.f32 (float [[X:%.*]])
1665
+ // FINITEONLY-NEXT: [[CONV_I:%.*]] = fptosi float [[TMP0 ]] to i64
1666
1666
// FINITEONLY-NEXT: ret i64 [[CONV_I]]
1667
1667
//
1668
1668
extern " C" __device__ long int test_lrintf (float x) {
@@ -1671,14 +1671,14 @@ extern "C" __device__ long int test_lrintf(float x) {
1671
1671
1672
1672
// DEFAULT-LABEL: @test_lrint(
1673
1673
// DEFAULT-NEXT: entry:
1674
- // DEFAULT-NEXT: [[CALL_I :%.*]] = tail call contract double @__ocml_rint_f64 (double noundef [[X:%.*]]) #[[ATTR14]]
1675
- // DEFAULT-NEXT: [[CONV_I:%.*]] = fptosi double [[CALL_I ]] to i64
1674
+ // DEFAULT-NEXT: [[TMP0 :%.*]] = tail call contract double @llvm.rint.f64 (double [[X:%.*]])
1675
+ // DEFAULT-NEXT: [[CONV_I:%.*]] = fptosi double [[TMP0 ]] to i64
1676
1676
// DEFAULT-NEXT: ret i64 [[CONV_I]]
1677
1677
//
1678
1678
// FINITEONLY-LABEL: @test_lrint(
1679
1679
// FINITEONLY-NEXT: entry:
1680
- // FINITEONLY-NEXT: [[CALL_I :%.*]] = tail call nnan ninf contract nofpclass(nan inf) double @__ocml_rint_f64 (double noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR14]]
1681
- // FINITEONLY-NEXT: [[CONV_I:%.*]] = fptosi double [[CALL_I ]] to i64
1680
+ // FINITEONLY-NEXT: [[TMP0 :%.*]] = tail call nnan ninf contract double @llvm.rint.f64 (double [[X:%.*]])
1681
+ // FINITEONLY-NEXT: [[CONV_I:%.*]] = fptosi double [[TMP0 ]] to i64
1682
1682
// FINITEONLY-NEXT: ret i64 [[CONV_I]]
1683
1683
//
1684
1684
extern " C" __device__ long int test_lrint (double x) {
@@ -2440,27 +2440,27 @@ extern "C" __device__ double test_rhypot(double x, double y) {
2440
2440
2441
2441
// DEFAULT-LABEL: @test_rintf(
2442
2442
// DEFAULT-NEXT: entry:
2443
- // DEFAULT-NEXT: [[CALL_I :%.*]] = tail call contract float @__ocml_rint_f32 (float noundef [[X:%.*]]) #[[ATTR14]]
2444
- // DEFAULT-NEXT: ret float [[CALL_I ]]
2443
+ // DEFAULT-NEXT: [[TMP0 :%.*]] = tail call contract float @llvm.rint.f32 (float [[X:%.*]])
2444
+ // DEFAULT-NEXT: ret float [[TMP0 ]]
2445
2445
//
2446
2446
// FINITEONLY-LABEL: @test_rintf(
2447
2447
// FINITEONLY-NEXT: entry:
2448
- // FINITEONLY-NEXT: [[CALL_I :%.*]] = tail call nnan ninf contract nofpclass(nan inf) float @__ocml_rint_f32 (float noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR14]]
2449
- // FINITEONLY-NEXT: ret float [[CALL_I ]]
2448
+ // FINITEONLY-NEXT: [[TMP0 :%.*]] = tail call nnan ninf contract float @llvm.rint.f32 (float [[X:%.*]])
2449
+ // FINITEONLY-NEXT: ret float [[TMP0 ]]
2450
2450
//
2451
2451
extern " C" __device__ float test_rintf (float x) {
2452
2452
return rintf (x);
2453
2453
}
2454
2454
2455
2455
// DEFAULT-LABEL: @test_rint(
2456
2456
// DEFAULT-NEXT: entry:
2457
- // DEFAULT-NEXT: [[CALL_I :%.*]] = tail call contract double @__ocml_rint_f64 (double noundef [[X:%.*]]) #[[ATTR14]]
2458
- // DEFAULT-NEXT: ret double [[CALL_I ]]
2457
+ // DEFAULT-NEXT: [[TMP0 :%.*]] = tail call contract double @llvm.rint.f64 (double [[X:%.*]])
2458
+ // DEFAULT-NEXT: ret double [[TMP0 ]]
2459
2459
//
2460
2460
// FINITEONLY-LABEL: @test_rint(
2461
2461
// FINITEONLY-NEXT: entry:
2462
- // FINITEONLY-NEXT: [[CALL_I :%.*]] = tail call nnan ninf contract nofpclass(nan inf) double @__ocml_rint_f64 (double noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR14]]
2463
- // FINITEONLY-NEXT: ret double [[CALL_I ]]
2462
+ // FINITEONLY-NEXT: [[TMP0 :%.*]] = tail call nnan ninf contract double @llvm.rint.f64 (double [[X:%.*]])
2463
+ // FINITEONLY-NEXT: ret double [[TMP0 ]]
2464
2464
//
2465
2465
extern " C" __device__ double test_rint (double x) {
2466
2466
return rint (x);
0 commit comments