about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-05 09:36:29 +0000
committerbors <bors@rust-lang.org>2022-07-05 09:36:29 +0000
commit96bdb398f9429fca79821cfe8aab828f52f8b710 (patch)
tree493af06441dba429028135b3857d005ab6f57fdc /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parenta71e691e74e06d0f3d50daee7510ce240f2b1783 (diff)
parent846eecb1a40210b287b92ea1750aedcf478067ae (diff)
downloadrust-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