Skip to content

Commit a9d29db

Browse files
committed
Remove unneeded assumption.
1 parent 69b5761 commit a9d29db

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
@@ -323,7 +323,6 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
323323
(Float(_), Int(_, is_signed)) => bx.cast_float_to_int(is_signed, imm, to_backend_ty),
324324
_ => return None,
325325
};
326-
self.assume_scalar_range(bx, imm, to_scalar, to_backend_ty);
327326
Some(imm)
328327
}
329328

0 commit comments

Comments
 (0)