@@ -1996,27 +1996,27 @@ extern "C" __device__ double test_nan_fill() {
19961996
19971997// DEFAULT-LABEL: @test_nearbyintf(
19981998// DEFAULT-NEXT: entry:
1999- // DEFAULT-NEXT: [[CALL_I :%.*]] = tail call contract float @__ocml_nearbyint_f32 (float noundef [[X:%.*]]) #[[ATTR14]]
2000- // DEFAULT-NEXT: ret float [[CALL_I ]]
1999+ // DEFAULT-NEXT: [[TMP0 :%.*]] = tail call contract float @llvm.nearbyint.f32 (float [[X:%.*]])
2000+ // DEFAULT-NEXT: ret float [[TMP0 ]]
20012001//
20022002// FINITEONLY-LABEL: @test_nearbyintf(
20032003// FINITEONLY-NEXT: entry:
2004- // FINITEONLY-NEXT: [[CALL_I :%.*]] = tail call nnan ninf contract nofpclass(nan inf) float @__ocml_nearbyint_f32 (float noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR14]]
2005- // FINITEONLY-NEXT: ret float [[CALL_I ]]
2004+ // FINITEONLY-NEXT: [[TMP0 :%.*]] = tail call nnan ninf contract float @llvm.nearbyint.f32 (float [[X:%.*]])
2005+ // FINITEONLY-NEXT: ret float [[TMP0 ]]
20062006//
20072007extern " C" __device__ float test_nearbyintf (float x) {
20082008 return nearbyintf (x);
20092009}
20102010
20112011// DEFAULT-LABEL: @test_nearbyint(
20122012// DEFAULT-NEXT: entry:
2013- // DEFAULT-NEXT: [[CALL_I :%.*]] = tail call contract double @__ocml_nearbyint_f64 (double noundef [[X:%.*]]) #[[ATTR14]]
2014- // DEFAULT-NEXT: ret double [[CALL_I ]]
2013+ // DEFAULT-NEXT: [[TMP0 :%.*]] = tail call contract double @llvm.nearbyint.f64 (double [[X:%.*]])
2014+ // DEFAULT-NEXT: ret double [[TMP0 ]]
20152015//
20162016// FINITEONLY-LABEL: @test_nearbyint(
20172017// FINITEONLY-NEXT: entry:
2018- // FINITEONLY-NEXT: [[CALL_I :%.*]] = tail call nnan ninf contract nofpclass(nan inf) double @__ocml_nearbyint_f64 (double noundef nofpclass(nan inf) [[X:%.*]]) #[[ATTR14]]
2019- // FINITEONLY-NEXT: ret double [[CALL_I ]]
2018+ // FINITEONLY-NEXT: [[TMP0 :%.*]] = tail call nnan ninf contract double @llvm.nearbyint.f64 (double [[X:%.*]])
2019+ // FINITEONLY-NEXT: ret double [[TMP0 ]]
20202020//
20212021extern " C" __device__ double test_nearbyint (double x) {
20222022 return nearbyint (x);
0 commit comments