Merge commit '5988bbd24a' into sync_cg_clif-2020-11-27
This commit is contained in:
parent
b5f6c0032e
commit
d404840788
33 changed files with 400 additions and 222 deletions
|
|
@ -233,7 +233,7 @@ pub(crate) fn type_min_max_value(
|
|||
let min_msb = bcx.ins().iconst(types::I64, (min >> 64) as u64 as i64);
|
||||
let min = bcx.ins().iconcat(min_lsb, min_msb);
|
||||
|
||||
let max = i128::MIN as u128;
|
||||
let max = i128::MAX as u128;
|
||||
let max_lsb = bcx.ins().iconst(types::I64, max as u64 as i64);
|
||||
let max_msb = bcx.ins().iconst(types::I64, (max >> 64) as u64 as i64);
|
||||
let max = bcx.ins().iconcat(max_lsb, max_msb);
|
||||
|
|
@ -364,7 +364,7 @@ impl<'tcx, M: Module> FunctionCx<'_, 'tcx, M> {
|
|||
self.instance.subst_mir_and_normalize_erasing_regions(
|
||||
self.tcx,
|
||||
ty::ParamEnv::reveal_all(),
|
||||
value
|
||||
value,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue