about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-07 12:23:06 +0000
committerbors <bors@rust-lang.org>2015-08-07 12:23:06 +0000
commitab77c1d8d017196a7bd8fac3574eb73dcd54f0a9 (patch)
treedd930ec76aee1e1857d6aebcb0b80ea2ce53aaff /src/rustllvm/RustWrapper.cpp
parent9bba7110639cbd1d51977d97106d377fdfac7cdf (diff)
parenteedb1cc5765b043f31ca4316c42f2ac8d7df1919 (diff)
downloadrust-ab77c1d8d017196a7bd8fac3574eb73dcd54f0a9.tar.gz
rust-ab77c1d8d017196a7bd8fac3574eb73dcd54f0a9.zip
Auto merge of #27551 - arielb1:adt-def, r=nikomatsakis
This ended up being a bigger refactoring than I thought, as I also cleaned a few ugly points in rustc. There are still a few areas that need improvements.

Performance numbers:
```
Before:
572.70user 5.52system 7:33.21elapsed 127%CPU (0avgtext+0avgdata 1173368maxresident)k
llvm-time: 385.858

After:
545.27user 5.49system 7:10.22elapsed 128%CPU (0avgtext+0avgdata 1145348maxresident)k
llvm-time: 387.119
```

A good 5% perf improvement. Note that after this patch >70% of the time is spent in LLVM - Amdahl's law is in full effect.

Passes make check locally.

r? @nikomatsakis 
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions