> LLVM does, yes, but I'd still be interested in a perf comparison of us > not translating the dead code compared to LLVM stripping it later. > Clang does this, for example.
But if the idea here is also to provide a dead-code warning during compilation, is it necessary to add this feature to the front-end or should we presume that compilation-speed-conscious users will acknowledge the warning and remove that code? On Sun, Nov 24, 2013 at 8:38 AM, Corey Richardson <[email protected]> wrote: > On Sat, Nov 23, 2013 at 10:44 PM, Kiet Tran <[email protected]> wrote: > > 1. Is doing part (b) necessary? That is, does LLVM's optimization > > already eliminate unused code? > > > > LLVM does, yes, but I'd still be interested in a perf comparison of us > not translating the dead code compared to LLVM stripping it later. > Clang does this, for example. > _______________________________________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/rust-dev >
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
