diff options
| author | bors <bors@rust-lang.org> | 2022-07-05 09:36:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-05 09:36:29 +0000 |
| commit | 96bdb398f9429fca79821cfe8aab828f52f8b710 (patch) | |
| tree | 493af06441dba429028135b3857d005ab6f57fdc /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | a71e691e74e06d0f3d50daee7510ce240f2b1783 (diff) | |
| parent | 846eecb1a40210b287b92ea1750aedcf478067ae (diff) | |
| download | rust-96bdb398f9429fca79821cfe8aab828f52f8b710.tar.gz rust-96bdb398f9429fca79821cfe8aab828f52f8b710.zip | |
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
