rust/compiler/rustc_codegen_ssa/src/mir
bors 53e4b9dd74 Auto merge of #104535 - mikebenfield:discr-fix, r=pnkfelix
rustc_codegen_ssa: Fix for codegen_get_discr

When doing the optimized implementation of getting the discriminant, the arithmetic needs to be done in the tag type so wrapping behavior works correctly.

Fixes #104519
2022-12-04 20:05:32 +00:00
..
analyze.rs Replace Body::basic_blocks() with field access 2022-08-26 14:27:08 +02:00
block.rs Properly handle Pin<&mut dyn* Trait> receiver in codegen 2022-11-24 01:10:25 +00:00
constant.rs deduplicate constant evaluation in cranelift backend 2022-11-19 14:08:12 +01:00
coverageinfo.rs Add SourceScope::inlined_instance 2022-07-08 09:19:07 +02:00
debuginfo.rs Introduce composite debuginfo. 2022-11-15 17:53:50 +00:00
intrinsic.rs Auto merge of #101483 - oli-obk:guaranteed_opt, r=fee1-dead 2022-09-10 09:50:21 +00:00
mod.rs Auto merge of #103138 - nnethercote:merge-BBs, r=bjorn3 2022-11-17 01:56:24 +00:00
operand.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
place.rs rustc_codegen_ssa: Fix for codegen_get_discr 2022-11-18 21:16:12 +00:00
rvalue.rs Use &mut Bx more. 2022-11-16 15:46:39 +11:00
statement.rs Use &mut Bx more. 2022-11-16 15:46:39 +11:00