]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #83417 - erikdesjardins:enableremovezsts, r=oli-obk
authorbors <bors@rust-lang.org>
Sat, 14 Aug 2021 19:59:08 +0000 (19:59 +0000)
committerbors <bors@rust-lang.org>
Sat, 14 Aug 2021 19:59:08 +0000 (19:59 +0000)
commit8007b506ac5da629f223b755f5a5391edd5f6d01
tree1ac94fdab8b713f049d02b1e8fd7b6c89cce657f
parente55c13e1099b78b1a485202fabc9c1b10b1f1d15
parent585e4ae6e1ab354fb2f4e3290b3b7302953f7d89
Auto merge of #83417 - erikdesjardins:enableremovezsts, r=oli-obk

Run RemoveZsts pass at mir-opt-level=1

per https://github.com/rust-lang/rust/pull/83177#issuecomment-803942217

This pass removes assignments to ZST places.

Perf (from https://github.com/rust-lang/rust/pull/83177#issuecomment-803442557): https://perf.rust-lang.org/compare.html?start=41b315a470d583f6446599984ff9ad3bd61012b2&end=bd5d1b96f0c64c9938feea831789e1b5bb2cd4a2

r? `@oli-obk`