rust/compiler/rustc_mir/src/transform
bors f726dbe934 Auto merge of #85603 - ogoffart:fix-uninhabited-enum-branching-pass, r=wesleywiser
Fix uninhabited enum branching pass

when the discriminant is taken with some projection.
2021-06-25 15:35:47 +00:00
..
check_consts Drop an if let that will always succeed 2021-06-05 18:12:47 +02:00
coverage Remove CrateNum::ReservedForIncrCompCache 2021-05-30 14:33:16 +02:00
inline Use small hash set in mir_inliner_callees 2021-02-24 00:00:00 +00:00
add_call_guards.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
add_moves_for_packed_drops.rs Replace (Body, DefId) with Body where possible 2020-10-04 16:07:03 -07:00
add_retag.rs Retagging: do not retag 'raw reborrows' 2020-10-31 15:31:27 +01:00
check_const_item_mutation.rs Suppress CONST_ITEM_MUTATION lint if a dereference occurs anywhere 2020-12-17 15:25:55 -05:00
check_packed_ref.rs make unaligned_refereces future-incompat lint warn-by-default, and remove the safe_packed_borrows lint that it replaces 2021-03-27 16:59:37 +01:00
check_unsafety.rs Fix unused_unsafe with compiler-generated unsafe 2021-06-21 17:25:45 -05:00
cleanup_post_borrowck.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
const_debuginfo.rs Disable the constant debuginfo promotion pass by default 2020-12-14 19:56:10 -05:00
const_goto.rs Reland - Report coverage 0 of dead blocks 2021-06-01 13:28:59 -07:00
const_prop.rs Use map_or instead of open-coding it 2021-06-17 19:39:58 +02:00
deaggregator.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
deduplicate_blocks.rs Reland - Report coverage 0 of dead blocks 2021-06-01 13:28:59 -07:00
dest_prop.rs Add Ty::is_union predicate and use it 2021-06-02 17:09:17 +02:00
dump_mir.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
early_otherwise_branch.rs Reland - Report coverage 0 of dead blocks 2021-06-01 13:28:59 -07:00
elaborate_drops.rs Prepare mir::Constant for ty::Const only supporting valtrees 2021-03-12 12:43:54 +00:00
function_item_references.rs Review changes 2021-01-16 18:56:37 -05:00
generator.rs Reland - Report coverage 0 of dead blocks 2021-06-01 13:28:59 -07:00
inline.rs Reland - Report coverage 0 of dead blocks 2021-06-01 13:28:59 -07:00
instcombine.rs Peephole optimize x == false and x != true 2021-06-07 12:33:00 -04:00
lower_intrinsics.rs add check that simd_shuffle arguments are constants 2021-05-12 16:15:30 +02:00
lower_slice_len.rs Squashed implementation of the pass 2021-06-20 16:09:42 +02:00
match_branches.rs Reland - Report coverage 0 of dead blocks 2021-06-01 13:28:59 -07:00
mod.rs Squashed implementation of the pass 2021-06-20 16:09:42 +02:00
multiple_return_terminators.rs Reland - Report coverage 0 of dead blocks 2021-06-01 13:28:59 -07:00
no_landing_pads.rs Visit only terminators when removing landing pads 2021-01-18 00:00:00 +00:00
nrvo.rs Extract mir_opt_level to a method and use Option to be able to know if the value is provided or not 2021-03-05 17:13:56 -03:00
promote_consts.rs Add Ty::is_union predicate and use it 2021-06-02 17:09:17 +02:00
remove_noop_landing_pads.rs Switch to changing cp_non_overlap in tform 2021-03-09 16:54:14 +00:00
remove_storage_markers.rs Remove storage markers if they won't be used during code generation 2021-02-28 20:10:44 +01:00
remove_unneeded_drops.rs Reland - Report coverage 0 of dead blocks 2021-06-01 13:28:59 -07:00
remove_zsts.rs Replace a match with an if let 2021-06-03 21:16:40 +02:00
required_consts.rs extract ConstKind::Unevaluated into a struct 2021-03-20 17:21:44 +01:00
rustc_peek.rs Prepare mir::Constant for ty::Const only supporting valtrees 2021-03-12 12:43:54 +00:00
simplify_branches.rs Simplify assert terminator only if condition evaluates to expected value 2020-10-21 00:00:00 +00:00
simplify_comparison_integral.rs Prepare mir::Constant for ty::Const only supporting valtrees 2021-03-12 12:43:54 +00:00
simplify_try.rs Reland - Report coverage 0 of dead blocks 2021-06-01 13:28:59 -07:00
simplify.rs Reland - Report coverage 0 of dead blocks 2021-06-01 13:28:59 -07:00
uninhabited_enum_branching.rs unhinabited_enum_branching: Fix the pass when the enum is taken indirectly 2021-05-23 17:15:31 +02:00
unreachable_prop.rs Reland - Report coverage 0 of dead blocks 2021-06-01 13:28:59 -07:00
validate.rs Validate type of locals used as indices 2021-06-02 17:11:07 +02:00