Skip to content

Commit a146814

Browse files
committed
ci fixes
1 parent abd73fd commit a146814

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • compiler/rustc_codegen_cranelift/src/intrinsics

compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,11 @@ fn codegen_float_intrinsic_call<'tcx>(
525525
let input_tys: Vec<_> = call_args.iter().map(|_| AbiParam::new(call_ty)).collect();
526526
let ret_val =
527527
fx.lib_call(call_name, input_tys, vec![AbiParam::new(call_ty)], call_args)[0];
528-
let ret_val =
529-
if convert_back_to_f16 { codegen_f16_f128::f32_to_f16(fx, ret_val) } else { ret_val };
528+
let ret_val = if convert_back_to_f16 {
529+
codegen_f16_f128::f32_to_f16(fx, ret_val)
530+
} else {
531+
ret_val
532+
};
530533
CValue::by_val(ret_val, fx.layout_of(ty))
531534
}
532535
};

0 commit comments

Comments
 (0)