rust/compiler/rustc_mir_transform/src
Tomasz Miąsko 4d614e1d1f Do not collapse goto chains beginning with the start block
If any block on a goto chain has more than one predecessor, then the new
start block would have basic block predecessors.

Skip the transformation for the start block altogether, to avoid
violating the new invariant that the start block does not have any basic
block predecessors.
2021-09-18 07:28:55 +02:00
..
coverage Auto merge of #84373 - cjgillot:resolve-span, r=michaelwoerister,petrochenkov 2021-09-11 23:35:28 +00:00
inline
abort_unwinding_calls.rs Treat drop_in_place as nounwind with -Z panic-in-drop=abort 2021-09-10 14:18:15 +01:00
add_call_guards.rs
add_moves_for_packed_drops.rs Move the dataflow framework to its own crate. 2021-09-07 19:57:07 +02:00
add_retag.rs
check_const_item_mutation.rs
check_packed_ref.rs
check_unsafety.rs
cleanup_post_borrowck.rs
const_debuginfo.rs
const_goto.rs
const_prop.rs Rename rustc_mir to rustc_const_eval. 2021-09-07 20:46:26 +02:00
deaggregator.rs
deduplicate_blocks.rs
dest_prop.rs Move the dataflow framework to its own crate. 2021-09-07 19:57:07 +02:00
dump_mir.rs Move the dataflow framework to its own crate. 2021-09-07 19:57:07 +02:00
early_otherwise_branch.rs Move the dataflow framework to its own crate. 2021-09-07 19:57:07 +02:00
elaborate_drops.rs Move the dataflow framework to its own crate. 2021-09-07 19:57:07 +02:00
function_item_references.rs
generator.rs Move the dataflow framework to its own crate. 2021-09-07 19:57:07 +02:00
inline.rs
instcombine.rs
lib.rs Make rustc_mir_dataflow::framework::graphviz and rustc_mir_transform::MirPass public 2021-09-15 11:41:37 -07:00
lower_intrinsics.rs Introduce NullOp::AlignOf 2021-09-13 00:08:35 +01:00
lower_slice_len.rs don't clone types that are Copy (clippy::clone_on_copy) 2021-09-11 10:18:56 +02:00
match_branches.rs Rename rustc_mir to rustc_const_eval. 2021-09-07 20:46:26 +02:00
multiple_return_terminators.rs
nrvo.rs
remove_noop_landing_pads.rs Move the dataflow framework to its own crate. 2021-09-07 19:57:07 +02:00
remove_storage_markers.rs
remove_unneeded_drops.rs
remove_zsts.rs Disable RemoveZsts in generators to avoid query cycles 2021-09-15 18:48:29 +02:00
required_consts.rs
separate_const_switch.rs
shim.rs Move the dataflow framework to its own crate. 2021-09-07 19:57:07 +02:00
simplify_branches.rs
simplify_comparison_integral.rs
simplify_try.rs
simplify.rs Do not collapse goto chains beginning with the start block 2021-09-18 07:28:55 +02:00
uninhabited_enum_branching.rs
unreachable_prop.rs