rust/compiler/rustc_const_eval
bors 53792b9c5c Auto merge of #96862 - oli-obk:enum_cast_mir, r=RalfJung
Change enum->int casts to not go through MIR casts.

follow-up to https://github.com/rust-lang/rust/pull/96814

this simplifies all backends and even gives LLVM more information about the return value of `Rvalue::Discriminant`, enabling optimizations in more cases.
2022-07-05 09:36:29 +00:00
..
src Auto merge of #96862 - oli-obk:enum_cast_mir, r=RalfJung 2022-07-05 09:36:29 +00:00
Cargo.toml Initial fixes on top of type interner commit 2022-05-28 11:38:22 -07:00