Stream: t-compiler/wg-mir-opt

Topic: StorageLive and StorageDead


Simon Vandel Sillesen (Aug 02 2020 at 16:23, on Zulip):

When is it actually necessary to emit StorageLive and StorageDead for new locals/temps? For example https://rust.godbolt.org/z/xrzczT
In this, _2and _4 did not have any Storage{Live, Dead}

oli (Aug 02 2020 at 17:24, on Zulip):

I think it's not necessary, it just helps llvm

RalfJ (Aug 06 2020 at 08:38, on Zulip):

async fn lowering also benefits

RalfJ (Aug 06 2020 at 08:38, on Zulip):

and MIR optimizations might as well

Last update: Sep 28 2020 at 16:00UTC