Skip to content

Commit 0219f21

Browse files
committed
Remove FIXME
1 parent b0bcb23 commit 0219f21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cast.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ pub fn clif_int_or_float_cast(
6363
fx,
6464
from,
6565
to_ty,
66-
from_signed, // FIXME is this correct?
66+
// This is correct as either from_signed == to_signed (=> this is trivially correct)
67+
// Or from_clif_ty == to_clif_ty, which means this is a no-op.
68+
from_signed,
6769
)
6870
} else if from_ty.is_int() && to_ty.is_float() {
6971
if from_ty == types::I128 {

0 commit comments

Comments
 (0)