Auto merge of #78360 - tmiasko:storage-markers, r=wesleywiser,oli-obk

Remove storage markers if they won't be used during code generation

The storage markers constitute a substantial portion of all MIR
statements. At the same time, for builds without any optimizations,
the storage markers have no further use during and after MIR
optimization phase.

If storage markers are not necessary for code generation, remove them.
This commit is contained in:
bors 2021-03-01 11:53:24 +00:00
commit 09db05762b
7 changed files with 155 additions and 3 deletions

View file

@ -1957,6 +1957,7 @@ impl<'test> TestCx<'test> {
}
MirOpt => {
rustc.args(&[
"-Copt-level=1",
"-Zdump-mir=all",
"-Zmir-opt-level=3",
"-Zvalidate-mir",