@@ -7,8 +7,6 @@ use rustc_codegen_ssa::traits::BuilderMethods;
7
7
pub enum LibmCustomIntrinsic {
8
8
CopySign ,
9
9
Cbrt ,
10
- Erf ,
11
- Erfc ,
12
10
Exp10 ,
13
11
Expm1 ,
14
12
Fdim ,
@@ -70,10 +68,6 @@ pub const TABLE: &[(&str, LibmIntrinsic)] = &[
70
68
( "cosf" , LibmIntrinsic :: GLOp ( GLOp :: Cos ) ) ,
71
69
( "cosh" , LibmIntrinsic :: GLOp ( GLOp :: Cosh ) ) ,
72
70
( "coshf" , LibmIntrinsic :: GLOp ( GLOp :: Cosh ) ) ,
73
- ( "erf" , LibmIntrinsic :: Custom ( LibmCustomIntrinsic :: Erf ) ) ,
74
- ( "erff" , LibmIntrinsic :: Custom ( LibmCustomIntrinsic :: Erf ) ) ,
75
- ( "erfc" , LibmIntrinsic :: Custom ( LibmCustomIntrinsic :: Erfc ) ) ,
76
- ( "erfcf" , LibmIntrinsic :: Custom ( LibmCustomIntrinsic :: Erfc ) ) ,
77
71
( "exp10" , LibmIntrinsic :: Custom ( LibmCustomIntrinsic :: Exp10 ) ) ,
78
72
( "exp10f" , LibmIntrinsic :: Custom ( LibmCustomIntrinsic :: Exp10 ) ) ,
79
73
( "exp2" , LibmIntrinsic :: GLOp ( GLOp :: Exp2 ) ) ,
@@ -258,16 +252,6 @@ impl Builder<'_, '_> {
258
252
let one = self . constant_float ( exp. ty , 1.0 ) ;
259
253
self . sub ( exp, one)
260
254
}
261
- LibmIntrinsic :: Custom ( LibmCustomIntrinsic :: Erf ) => {
262
- let undef = self . undef ( result_type) ;
263
- self . zombie ( undef. def ( self ) , "Erf not supported yet" ) ;
264
- undef
265
- }
266
- LibmIntrinsic :: Custom ( LibmCustomIntrinsic :: Erfc ) => {
267
- let undef = self . undef ( result_type) ;
268
- self . zombie ( undef. def ( self ) , "Erfc not supported yet" ) ;
269
- undef
270
- }
271
255
LibmIntrinsic :: Custom ( LibmCustomIntrinsic :: Fdim ) => {
272
256
let undef = self . undef ( result_type) ;
273
257
self . zombie ( undef. def ( self ) , "Fdim not supported yet" ) ;
0 commit comments