Merge commit 'd556c56f79' into sync_cg_clif-2021-02-01
This commit is contained in:
parent
e67b72de2e
commit
a75f9bc3be
39 changed files with 1006 additions and 731 deletions
|
|
@ -280,7 +280,6 @@ pub(crate) fn codegen_checked_int_binop<'tcx>(
|
|||
(val, fx.bcx.ins().bor(has_underflow, has_overflow))
|
||||
}
|
||||
types::I64 => {
|
||||
//let val = fx.easy_call("__mulodi4", &[lhs, rhs, overflow_ptr], types::I64);
|
||||
let val = fx.bcx.ins().imul(lhs, rhs);
|
||||
let has_overflow = if !signed {
|
||||
let val_hi = fx.bcx.ins().umulhi(lhs, rhs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue