mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
9ab01ae53c
Fix performance regression introduced in #142531 by excluding `Storage{Live,Dead}` from CGU size estimation Fix performance regression introduced in rust-lang/rust#142531 ([rust-timer comment](https://github.com/rust-lang/rust/pull/142531#issuecomment-4273712294)) by excluding `Storage{Live,Dead}` from CGU size estimation. Also, avoid unneeded work for storage removal in non-opt builds in CopyProp and GVN by allocating local sets for the storage accounting only when `tcx.sess.emit_lifetime_markers()`. r? saethlin