Stream: t-compiler/wg-mir-opt

Topic: emit=mir


andjo403 (Feb 23 2020 at 20:28, on Zulip):

is it not strange that emit=mir do not emit all functions that is emitted with emit=llvm-ir?
hard to see all changes that mir opt results in when not all functions can be found

andjo403 (Feb 23 2020 at 20:42, on Zulip):

or maybe not all functions that is in the llvm-ir file is optimised by mir-opts

nagisa (Feb 24 2020 at 00:38, on Zulip):

MIR is before monomorphization or glue generation.

nagisa (Feb 24 2020 at 00:39, on Zulip):

It doesn't represent monomorphic functions and doesn’t attempt to represent the generated glue.

RalfJ (Feb 24 2020 at 12:17, on Zulip):

there's also https://github.com/rust-lang/rust/issues/43620, which might affect --emit=mir as well.
and there is https://github.com/rust-lang/rust/issues/58102.

Last update: Apr 03 2020 at 18:30UTC