rust/src/librustc_mir/monomorphize
Alex Crichton 3b2403306f Rollup merge of #47415 - varkor:cgu-partition-heuristic, r=michaelwoerister
Add CGU size heuristic for partitioning

This addresses the concern of #47316 by estimating CGU size based on
the size of its MIR. Looking at the size estimate differences for a
small selection of crates, this heuristic produces different orderings,
which should more accurately reflect optimisation time. (Fixes #47316.)

r? @michaelwoerister
2018-01-25 12:48:44 -06:00
..
collector.rs Remove impl Foo for .. in favor of auto trait Foo 2018-01-13 18:48:00 +03:00
item.rs Adds support for immovable generators. Move checking of invalid borrows across suspension points to borrowck. Fixes #44197, #45259 and #45093. 2018-01-23 05:10:38 +01:00
mod.rs Allow runtime switching between trans backends 2018-01-19 20:27:10 +01:00
partitioning.rs Update comments about the partitioning inefficiency 2018-01-19 00:42:14 +00:00