Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into sync_cg_clif-2020-11-27
This commit is contained in:
@@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user