File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
compiler/rustc_codegen_cranelift/src/intrinsics Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -475,9 +475,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
475475 sym:: unchecked_add
476476 | sym:: unchecked_sub
477477 | sym:: unchecked_mul
478- | sym:: unchecked_div
479478 | sym:: exact_div
480- | sym:: unchecked_rem
481479 | sym:: unchecked_shl
482480 | sym:: unchecked_shr => {
483481 intrinsic_args ! ( fx, args => ( x, y) ; intrinsic) ;
@@ -487,8 +485,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
487485 sym:: unchecked_add => BinOp :: Add ,
488486 sym:: unchecked_sub => BinOp :: Sub ,
489487 sym:: unchecked_mul => BinOp :: Mul ,
490- sym:: unchecked_div | sym:: exact_div => BinOp :: Div ,
491- sym:: unchecked_rem => BinOp :: Rem ,
488+ sym:: exact_div => BinOp :: Div ,
492489 sym:: unchecked_shl => BinOp :: Shl ,
493490 sym:: unchecked_shr => BinOp :: Shr ,
494491 _ => unreachable ! ( ) ,
You can’t perform that action at this time.
0 commit comments