@@ -1075,7 +1075,6 @@ extern "C" __device__ double test_cospi(double x) {
10751075 return cospi (x);
10761076}
10771077
1078- //
10791078// DEFAULT-LABEL: @test_cyl_bessel_i0f(
10801079// DEFAULT-NEXT: entry:
10811080// 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) {
12701269
12711270// DEFAULT-LABEL: @test_exp10f(
12721271// 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 ]]
12751274//
12761275// FINITEONLY-LABEL: @test_exp10f(
12771276// 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 ]]
12801279//
12811280// APPROX-LABEL: @test_exp10f(
12821281// 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 ]]
12851284//
12861285// AMDGCNSPIRV-LABEL: @test_exp10f(
12871286// 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 ]]
12901289//
12911290extern " C" __device__ float test_exp10f (float x) {
12921291 return exp10f (x);
@@ -1748,7 +1747,6 @@ extern "C" __device__ double test_fmax(double x, double y) {
17481747 return fmax (x, y);
17491748}
17501749
1751- //
17521750// DEFAULT-LABEL: @test_fminf(
17531751// DEFAULT-NEXT: entry:
17541752// 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) {
28232821
28242822// DEFAULT-LABEL: @test_log2f(
28252823// 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 ]]
28282826//
28292827// FINITEONLY-LABEL: @test_log2f(
28302828// 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 ]]
28332831//
28342832// APPROX-LABEL: @test_log2f(
28352833// APPROX-NEXT: entry:
@@ -2838,8 +2836,8 @@ extern "C" __device__ double test_log1p(double x) {
28382836//
28392837// AMDGCNSPIRV-LABEL: @test_log2f(
28402838// 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 ]]
28432841//
28442842extern " C" __device__ float test_log2f (float x) {
28452843 return log2f (x);
@@ -2919,13 +2917,13 @@ extern "C" __device__ double test_logb(double x) {
29192917
29202918// DEFAULT-LABEL: @test_logf(
29212919// 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 ]]
29242922//
29252923// FINITEONLY-LABEL: @test_logf(
29262924// 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 ]]
29292927//
29302928// APPROX-LABEL: @test_logf(
29312929// APPROX-NEXT: entry:
@@ -2934,8 +2932,8 @@ extern "C" __device__ double test_logb(double x) {
29342932//
29352933// AMDGCNSPIRV-LABEL: @test_logf(
29362934// 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 ]]
29392937//
29402938extern " C" __device__ float test_logf (float x) {
29412939 return logf (x);
0 commit comments