about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-09-25 18:47:00 -0700
committerGitHub <noreply@github.com>2016-09-25 18:47:00 -0700
commit9966397b61d5e065b692c59f4f721e31d038f1fc (patch)
tree73cce1018c590b96c8330ef37682207579fad280 /src/rustllvm/RustWrapper.cpp
parent95abee1a680f008fb97472294dd376a66e06d311 (diff)
parent467454b0d2577795a579968ebd7bfa3bf9753404 (diff)
downloadrust-9966397b61d5e065b692c59f4f721e31d038f1fc.tar.gz
rust-9966397b61d5e065b692c59f4f721e31d038f1fc.zip
Auto merge of #36151 - camlorn:struct_layout_optimization, r=eddyb
refactor to remove trans::adt and make rustc::ty::layout authoritative

I asked on IRC about optimizing struct layout by reordering fields from most-aligned to least-aligned and somehow ended up getting talked into doing this.  The goal here is to make `layout` authoritative and to remove `adt`.  The former has been accomplished by reimplementing `represent_type_uncached` and the latter is in progress.  @eddyb thought I should make the PR now.

My plan is to reserve the actual optimization for a second PR, as this work is useful by itself.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions