We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 22237ed + 2ad8e1f commit 81f9dc2Copy full SHA for 81f9dc2
src/base.rs
@@ -496,7 +496,6 @@ fn codegen_fn_body(fx: &mut FunctionCx<'_, '_, '_>, start_block: Block) {
496
TerminatorKind::Yield { .. }
497
| TerminatorKind::FalseEdge { .. }
498
| TerminatorKind::FalseUnwind { .. }
499
- | TerminatorKind::DropAndReplace { .. }
500
| TerminatorKind::GeneratorDrop => {
501
bug!("shouldn't exist at codegen {:?}", bb_data.terminator());
502
}
src/constant.rs
@@ -543,8 +543,7 @@ pub(crate) fn mir_operand_get_const_val<'tcx>(
543
| TerminatorKind::Unreachable
544
| TerminatorKind::Drop { .. }
545
| TerminatorKind::Assert { .. } => {}
546
- TerminatorKind::DropAndReplace { .. }
547
- | TerminatorKind::Yield { .. }
+ TerminatorKind::Yield { .. }
548
| TerminatorKind::GeneratorDrop
549
550
| TerminatorKind::FalseUnwind { .. } => unreachable!(),
src/intrinsics/mod.rs
@@ -281,8 +281,12 @@ fn codegen_float_intrinsic_call<'tcx>(
281
sym::ceilf64 => ("ceil", 1, fx.tcx.types.f64, types::F64),
282
sym::truncf32 => ("truncf", 1, fx.tcx.types.f32, types::F32),
283
sym::truncf64 => ("trunc", 1, fx.tcx.types.f64, types::F64),
284
+ sym::rintf32 => ("rintf", 1, fx.tcx.types.f32, types::F32),
285
+ sym::rintf64 => ("rint", 1, fx.tcx.types.f64, types::F64),
286
sym::roundf32 => ("roundf", 1, fx.tcx.types.f32, types::F32),
287
sym::roundf64 => ("round", 1, fx.tcx.types.f64, types::F64),
288
+ sym::roundevenf32 => ("roundevenf", 1, fx.tcx.types.f32, types::F32),
289
+ sym::roundevenf64 => ("roundeven", 1, fx.tcx.types.f64, types::F64),
290
sym::sinf32 => ("sinf", 1, fx.tcx.types.f32, types::F32),
291
sym::sinf64 => ("sin", 1, fx.tcx.types.f64, types::F64),
292
sym::cosf32 => ("cosf", 1, fx.tcx.types.f32, types::F32),
0 commit comments