Skip to content

Commit 44a98df

Browse files
committed
Remove workaround for previously missing encoding
1 parent db85194 commit 44a98df

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/base.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -563,12 +563,6 @@ fn trans_stmt<'a, 'tcx: 'a>(
563563
)
564564
} else if from_clif_ty.is_int() && to_clif_ty.is_float() {
565565
// int-like -> float
566-
// FIXME missing encoding for fcvt_from_sint.f32.i8
567-
let from = if from_clif_ty == types::I8 || from_clif_ty == types::I16 {
568-
fx.bcx.ins().uextend(types::I32, from)
569-
} else {
570-
from
571-
};
572566
if signed {
573567
fx.bcx.ins().fcvt_from_sint(to_clif_ty, from)
574568
} else {

0 commit comments

Comments
 (0)