rust/compiler/rustc_mir_transform
bors a6fe969541 Auto merge of #93387 - JakobDegen:improve_partialeq, r=tmiasko
Extend uninhabited enum variant branch elimination to also affect fallthrough

The `uninhabited_enum_branching` mir opt eliminates branches on variants where the data is uninhabited. This change extends this pass to also ensure that the `otherwise` case points to a trivially unreachable bb if all inhabited variants are present in the non-otherwise branches.

I believe it was `@scottmcm` who said that LLVM eliminates some of this information in its SimplifyCFG pass. This is unfortunate, but this change should still be at least a small improvement in principle (I don't think it will show up on any benchmarks)
2022-02-20 05:24:52 +00:00
..
src Auto merge of #93387 - JakobDegen:improve_partialeq, r=tmiasko 2022-02-20 05:24:52 +00:00
Cargo.toml Update itertools to deduplicate it 2022-01-14 12:33:54 +01:00