about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJakob Degen <jakob@degen.com>2021-12-11 21:32:08 -0500
committerJakob Degen <jakob.e.degen@gmail.com>2022-02-18 09:14:21 -0500
commit3a5c07889586564017bc0d88826a48aecf721600 (patch)
treed53038bf30cb2b5899f3d26eb8cd2dedc5369e70 /compiler/rustc_codegen_llvm/src
parent30b3f35c420694a4f24e5a4df00f06073f4f3a37 (diff)
downloadrust-3a5c07889586564017bc0d88826a48aecf721600.tar.gz
rust-3a5c07889586564017bc0d88826a48aecf721600.zip
Extend uninhabited match branch optimization to also work on fallthrough.
The `uninhabited_enum_branch` miropt now also checks whether the fallthrough
case is inhabited, and if not will ensure that it points to an unreachable
block.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions