LayoutData::is_variant_uninhabited
This is a cheaper alternative to `TyAndLayout::for_variant(_, idx).is_uninhabited()`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.