fix operator handling when using 128bit intrinsics
This commit is contained in:
parent
aa760a5225
commit
f2aeb5b893
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ impl<'mir, 'tcx> super::Machine<'mir, 'tcx> for CompileTimeEvaluator {
|
|||
};
|
||||
let (dest, bb) = destination.expect("128 lowerings can't diverge");
|
||||
let l = ecx.read_value(args[0])?;
|
||||
let r = ecx.read_value(args[0])?;
|
||||
let r = ecx.read_value(args[1])?;
|
||||
if oflo {
|
||||
ecx.binop_with_overflow(op, l, r, dest)?;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue