@@ -1996,27 +1996,27 @@ extern "C" __device__ double test_nan_fill() {
1996
1996
1997
1997
// DEFAULT-LABEL: @test_nearbyintf(
1998
1998
// 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 ]]
2001
2001
//
2002
2002
// FINITEONLY-LABEL: @test_nearbyintf(
2003
2003
// 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 ]]
2006
2006
//
2007
2007
extern " C" __device__ float test_nearbyintf (float x) {
2008
2008
return nearbyintf (x);
2009
2009
}
2010
2010
2011
2011
// DEFAULT-LABEL: @test_nearbyint(
2012
2012
// 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 ]]
2015
2015
//
2016
2016
// FINITEONLY-LABEL: @test_nearbyint(
2017
2017
// 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 ]]
2020
2020
//
2021
2021
extern " C" __device__ double test_nearbyint (double x) {
2022
2022
return nearbyint (x);
0 commit comments