about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-09-23 20:13:47 +0000
committerbors <bors@rust-lang.org>2020-09-23 20:13:47 +0000
commit8b4085359ae798dedb05c95ad42520557bd25320 (patch)
treed636a9670fdcae36ee917808167b174f4489bc28 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parenta6008fac97f81a3fc51668b0c7fa0e2e6f2a599b (diff)
parent05f84c67a4f38136b1a7be9065781611061a23d3 (diff)
downloadrust-8b4085359ae798dedb05c95ad42520557bd25320.tar.gz
rust-8b4085359ae798dedb05c95ad42520557bd25320.zip
Auto merge of #76673 - simonvandel:remove-unneeded-drops, r=oli-obk
MIR pass to remove unneeded drops on types not needing drop

This is heavily dependent on MIR inlining running to actually see the drop statement.

Do we want to special case replacing a call to std::mem::drop with a goto aswell?
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions