diff options
| author | bors <bors@rust-lang.org> | 2015-05-15 11:57:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-05-15 11:57:31 +0000 |
| commit | 7ebaf1c5c6dcff22d554bc0169a7416f1305c8c4 (patch) | |
| tree | 57ae62875b2876a0ee90ae8d6b909ab4a498145c /src/test/codegen/stack-alloc-string-slice.cc | |
| parent | 579e31929feff51dcaf8d444648eff8de735f91a (diff) | |
| parent | 02603334ae22971409c11e547a3568d70b9c60ac (diff) | |
| download | rust-7ebaf1c5c6dcff22d554bc0169a7416f1305c8c4.tar.gz rust-7ebaf1c5c6dcff22d554bc0169a7416f1305c8c4.zip | |
Auto merge of #25423 - dotdash:assume, r=huonw
The assume intrinsic has a strong, negative impact on compile times, so we're currently only using it in places where LLVM can simplify it to nonnull metadata on a load intruction. Unfortunately a recent change that fixed invalid assume calls introduce new assume calls for which this simplification can not happen, leading to a massive regression in compile times in certain cases. Moving the assumptions from the middle of the function to the beginning allows the simplification to happen again, bringing compile times back to their old levels. Fixes #25393
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions
