rust/src/librustc/session
bors 8327b5afaf Auto merge of #37429 - camlorn:univariant_layout_optimization, r=eddyb
struct field reordering and optimization

This is work in progress.  The goal is to divorce the order of fields in source code from the order of fields in the LLVM IR, then optimize structs (and tuples/enum variants)by always ordering fields from least to most aligned.  It does not work yet.  I intend to check compiler memory usage as a benchmark, and a crater run will probably be required.

I don't know enough of the compiler to complete this work unaided.  If you see places that still need updating, please mention them.  The only one I know of currently is debuginfo, which I'm putting off intentionally until a bit later.

r? @eddyb
2016-12-18 07:59:32 +00:00
..
code_stats.rs Fix -Z print-type-sizes and tests. 2016-12-14 12:28:25 -05:00
config.rs rustbuild: Fix LC_ID_DYLIB directives on OSX 2016-12-17 16:14:11 -08:00
filesearch.rs Simplify str and Path comparison. 2016-10-10 19:46:18 -04:00
mod.rs limit the length of types in monomorphization 2016-12-02 00:54:22 +02:00
search_paths.rs Add the notion of a dependency tracking status to commandline arguments. 2016-08-11 09:56:00 -04:00