about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-12-18 07:59:32 +0000
committerbors <bors@rust-lang.org>2016-12-18 07:59:32 +0000
commit8327b5afafde7cdd6fd4e939d9a8fe12f76503ef (patch)
tree950ad46079b3258847e8452903faff3d9d715a93 /src/rustllvm/RustWrapper.cpp
parentd54e72317998cfe1df90256ad0669dd193cf2f66 (diff)
parentff59474ed356d69d75447af79278bdd28db16710 (diff)
downloadrust-8327b5afafde7cdd6fd4e939d9a8fe12f76503ef.tar.gz
rust-8327b5afafde7cdd6fd4e939d9a8fe12f76503ef.zip
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions