Stream: t-compiler/wg-mir-opt

Topic: Return value optimizations


RalfJ (Jul 13 2020 at 10:09, on Zulip):

Is there any chance mir-opts can help with https://github.com/rust-lang/rust/issues/74267 ?

Jonas Schievink (Jul 13 2020 at 10:17, on Zulip):

I tried dest prop yesterday but it did nothing, presumably we need inlining

RalfJ (Jul 13 2020 at 10:19, on Zulip):

yeah likely this requires assume_init to be inlined fairly early in the optimization chain

oli (Jul 13 2020 at 10:25, on Zulip):

we can move the inliner earlier. There may be some regressions with inlining function calls in dead code though

oli (Jul 13 2020 at 10:25, on Zulip):

Ideally we'd do another deaggregation run after inlining

Last update: Sep 28 2020 at 14:00UTC