Skip to content

Commit 832ccdc

Browse files
committed
Remove unneeded assumption.
1 parent 45b87fb commit 832ccdc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_codegen_ssa/src/mir/rvalue.rs

-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
327327
(Float(_), Int(_, is_signed)) => bx.cast_float_to_int(is_signed, imm, to_backend_ty),
328328
_ => return None,
329329
};
330-
self.assume_scalar_range(bx, imm, to_scalar, to_backend_ty);
331330
Some(imm)
332331
}
333332

0 commit comments

Comments
 (0)