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:
commit
09db05762b
7 changed files with 155 additions and 3 deletions
|
|
@ -1957,6 +1957,7 @@ impl<'test> TestCx<'test> {
|
|||
}
|
||||
MirOpt => {
|
||||
rustc.args(&[
|
||||
"-Copt-level=1",
|
||||
"-Zdump-mir=all",
|
||||
"-Zmir-opt-level=3",
|
||||
"-Zvalidate-mir",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue