@@ -1075,7 +1075,6 @@ extern "C" __device__ double test_cospi(double x) {
1075
1075
return cospi (x);
1076
1076
}
1077
1077
1078
- //
1079
1078
// DEFAULT-LABEL: @test_cyl_bessel_i0f(
1080
1079
// DEFAULT-NEXT: entry:
1081
1080
// DEFAULT-NEXT: [[CALL_I:%.*]] = tail call contract noundef float @__ocml_i0_f32(float noundef [[X:%.*]]) #[[ATTR14]]
@@ -1270,23 +1269,23 @@ extern "C" __device__ double test_erfinv(double x) {
1270
1269
1271
1270
// DEFAULT-LABEL: @test_exp10f(
1272
1271
// DEFAULT-NEXT: entry:
1273
- // DEFAULT-NEXT: [[CALL_I :%.*]] = tail call contract noundef float @__ocml_exp10_f32 (float noundef [[X:%.*]]) #[[ATTR13]]
1274
- // DEFAULT-NEXT: ret float [[CALL_I ]]
1272
+ // DEFAULT-NEXT: [[TMP0 :%.*]] = tail call contract noundef float @llvm.exp10.f32 (float [[X:%.*]])
1273
+ // DEFAULT-NEXT: ret float [[TMP0 ]]
1275
1274
//
1276
1275
// FINITEONLY-LABEL: @test_exp10f(
1277
1276
// FINITEONLY-NEXT: entry:
1278
- // FINITEONLY-NEXT: [[CALL_I :%.*]] = tail call nnan ninf contract noundef nofpclass(nan inf) float @__ocml_exp10_f32 (float noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR13]]
1279
- // FINITEONLY-NEXT: ret float [[CALL_I ]]
1277
+ // FINITEONLY-NEXT: [[TMP0 :%.*]] = tail call nnan ninf contract noundef float @llvm.exp10.f32 (float [[X:%.*]])
1278
+ // FINITEONLY-NEXT: ret float [[TMP0 ]]
1280
1279
//
1281
1280
// APPROX-LABEL: @test_exp10f(
1282
1281
// APPROX-NEXT: entry:
1283
- // APPROX-NEXT: [[CALL_I :%.*]] = tail call contract noundef float @__ocml_exp10_f32 (float noundef [[X:%.*]]) #[[ATTR13]]
1284
- // APPROX-NEXT: ret float [[CALL_I ]]
1282
+ // APPROX-NEXT: [[TMP0 :%.*]] = tail call contract noundef float @llvm.exp10.f32 (float [[X:%.*]])
1283
+ // APPROX-NEXT: ret float [[TMP0 ]]
1285
1284
//
1286
1285
// AMDGCNSPIRV-LABEL: @test_exp10f(
1287
1286
// AMDGCNSPIRV-NEXT: entry:
1288
- // AMDGCNSPIRV-NEXT: [[CALL_I :%.*]] = tail call contract spir_func noundef addrspace(4) float @__ocml_exp10_f32 (float noundef [[X:%.*]]) #[[ATTR13]]
1289
- // AMDGCNSPIRV-NEXT: ret float [[CALL_I ]]
1287
+ // AMDGCNSPIRV-NEXT: [[TMP0 :%.*]] = tail call contract noundef addrspace(4) float @llvm.exp10.f32 (float [[X:%.*]])
1288
+ // AMDGCNSPIRV-NEXT: ret float [[TMP0 ]]
1290
1289
//
1291
1290
extern " C" __device__ float test_exp10f (float x) {
1292
1291
return exp10f (x);
@@ -1748,7 +1747,6 @@ extern "C" __device__ double test_fmax(double x, double y) {
1748
1747
return fmax (x, y);
1749
1748
}
1750
1749
1751
- //
1752
1750
// DEFAULT-LABEL: @test_fminf(
1753
1751
// DEFAULT-NEXT: entry:
1754
1752
// DEFAULT-NEXT: [[TMP0:%.*]] = tail call contract noundef float @llvm.minnum.f32(float [[X:%.*]], float [[Y:%.*]])
@@ -2823,13 +2821,13 @@ extern "C" __device__ double test_log1p(double x) {
2823
2821
2824
2822
// DEFAULT-LABEL: @test_log2f(
2825
2823
// DEFAULT-NEXT: entry:
2826
- // DEFAULT-NEXT: [[CALL_I :%.*]] = tail call contract noundef float @__ocml_log2_f32 (float noundef [[X:%.*]]) #[[ATTR13]]
2827
- // DEFAULT-NEXT: ret float [[CALL_I ]]
2824
+ // DEFAULT-NEXT: [[TMP0 :%.*]] = tail call contract noundef float @llvm.log2.f32 (float [[X:%.*]])
2825
+ // DEFAULT-NEXT: ret float [[TMP0 ]]
2828
2826
//
2829
2827
// FINITEONLY-LABEL: @test_log2f(
2830
2828
// FINITEONLY-NEXT: entry:
2831
- // FINITEONLY-NEXT: [[CALL_I :%.*]] = tail call nnan ninf contract noundef nofpclass(nan inf) float @__ocml_log2_f32 (float noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR13]]
2832
- // FINITEONLY-NEXT: ret float [[CALL_I ]]
2829
+ // FINITEONLY-NEXT: [[TMP0 :%.*]] = tail call nnan ninf contract noundef float @llvm.log2.f32 (float [[X:%.*]])
2830
+ // FINITEONLY-NEXT: ret float [[TMP0 ]]
2833
2831
//
2834
2832
// APPROX-LABEL: @test_log2f(
2835
2833
// APPROX-NEXT: entry:
@@ -2838,8 +2836,8 @@ extern "C" __device__ double test_log1p(double x) {
2838
2836
//
2839
2837
// AMDGCNSPIRV-LABEL: @test_log2f(
2840
2838
// AMDGCNSPIRV-NEXT: entry:
2841
- // AMDGCNSPIRV-NEXT: [[CALL_I :%.*]] = tail call contract spir_func noundef addrspace(4) float @__ocml_log2_f32 (float noundef [[X:%.*]]) #[[ATTR13]]
2842
- // AMDGCNSPIRV-NEXT: ret float [[CALL_I ]]
2839
+ // AMDGCNSPIRV-NEXT: [[TMP0 :%.*]] = tail call contract noundef addrspace(4) float @llvm.log2.f32 (float [[X:%.*]])
2840
+ // AMDGCNSPIRV-NEXT: ret float [[TMP0 ]]
2843
2841
//
2844
2842
extern " C" __device__ float test_log2f (float x) {
2845
2843
return log2f (x);
@@ -2919,13 +2917,13 @@ extern "C" __device__ double test_logb(double x) {
2919
2917
2920
2918
// DEFAULT-LABEL: @test_logf(
2921
2919
// DEFAULT-NEXT: entry:
2922
- // DEFAULT-NEXT: [[CALL_I :%.*]] = tail call contract noundef float @__ocml_log_f32 (float noundef [[X:%.*]]) #[[ATTR13]]
2923
- // DEFAULT-NEXT: ret float [[CALL_I ]]
2920
+ // DEFAULT-NEXT: [[TMP0 :%.*]] = tail call contract noundef float @llvm.log.f32 (float [[X:%.*]])
2921
+ // DEFAULT-NEXT: ret float [[TMP0 ]]
2924
2922
//
2925
2923
// FINITEONLY-LABEL: @test_logf(
2926
2924
// FINITEONLY-NEXT: entry:
2927
- // FINITEONLY-NEXT: [[CALL_I :%.*]] = tail call nnan ninf contract noundef nofpclass(nan inf) float @__ocml_log_f32 (float noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR13]]
2928
- // FINITEONLY-NEXT: ret float [[CALL_I ]]
2925
+ // FINITEONLY-NEXT: [[TMP0 :%.*]] = tail call nnan ninf contract noundef float @llvm.log.f32 (float [[X:%.*]])
2926
+ // FINITEONLY-NEXT: ret float [[TMP0 ]]
2929
2927
//
2930
2928
// APPROX-LABEL: @test_logf(
2931
2929
// APPROX-NEXT: entry:
@@ -2934,8 +2932,8 @@ extern "C" __device__ double test_logb(double x) {
2934
2932
//
2935
2933
// AMDGCNSPIRV-LABEL: @test_logf(
2936
2934
// AMDGCNSPIRV-NEXT: entry:
2937
- // AMDGCNSPIRV-NEXT: [[CALL_I :%.*]] = tail call contract spir_func noundef addrspace(4) float @__ocml_log_f32 (float noundef [[X:%.*]]) #[[ATTR13]]
2938
- // AMDGCNSPIRV-NEXT: ret float [[CALL_I ]]
2935
+ // AMDGCNSPIRV-NEXT: [[TMP0 :%.*]] = tail call contract noundef addrspace(4) float @llvm.log.f32 (float [[X:%.*]])
2936
+ // AMDGCNSPIRV-NEXT: ret float [[TMP0 ]]
2939
2937
//
2940
2938
extern " C" __device__ float test_logf (float x) {
2941
2939
return logf (x);
0 commit comments