diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2019-05-25 17:11:27 +0100 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2019-06-13 21:05:21 +0100 |
| commit | a1d0266878793bc8b2bf50958eb529005ed19da0 (patch) | |
| tree | 38782c0bb77042320e4751ca62a51e51328a0174 /src/test/ui/thinlto | |
| parent | ef1fc86b521f457f736a8e110c851133cd953149 (diff) | |
| download | rust-a1d0266878793bc8b2bf50958eb529005ed19da0.tar.gz rust-a1d0266878793bc8b2bf50958eb529005ed19da0.zip | |
Generate MIR thats easier for llvm for str matches
LLVM appears to prefer (spend less time optimizing) long if chains if it receives them in approzimately source order. This fixes a ~10% regression for optimized builds of the encoding benchmark on perf.rlo due to the changes to decision tree construction.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
