one thing that needs discussion now is which optimizations from level 3 do we want to make it level 2 (on by default on "release" mode)
I meant, we would be placing a PR and running perf on them
@oli told me to ask @tm about good first candidates
oli also told me that
? opt may be a good candidate
As far as I know
-Zmir-opt-level=1 is used for all optimization levels. At least MIR inlining is not enabled when optimizations are enabled, yet it only requires
In context of changes from #82736.
right @tm, sorry for not being clear that what I was saying is once that PR lands :)
so the idea now is that the optimizations we have on level 3 on that PR, we would like to provide followup PRs that move each one to level 2 and run perf on them
my question for @tm was, which optimizations are the ones you consider more important to try first?
After looking a bit, I don't think I will have any concrete suggestions.
the "setup" changes have landed
opened #82903, #82904, #82905, #82906 to check on each opt if there are improvements so we can move to level 2
the only in that is currently in level 3 that I didn't touch is the inliner because @oli told me that @Wesley Wiser was on it
Yeah, #82280 seems to be basically the same idea in practice.
Last updated: Oct 21 2021 at 20:47 UTC