diff options
author | Kyle Butt <kyle+llvm@iteratee.net> | 2017-05-15 17:30:47 +0000 |
---|---|---|
committer | Kyle Butt <kyle+llvm@iteratee.net> | 2017-05-15 17:30:47 +0000 |
commit | 7d531daecec9470a4540b5303f23786b28c3c6f9 (patch) | |
tree | 05eaaf45a01643a7b567bd6c53da1aa09e0d4de5 /clang-tools-extra/test/clang-tidy/google-namespaces.cpp | |
parent | 886d2e6ef03eb1f429d193480941e50f48bf9a1d (diff) | |
download | bcm5719-llvm-7d531daecec9470a4540b5303f23786b28c3c6f9.tar.gz bcm5719-llvm-7d531daecec9470a4540b5303f23786b28c3c6f9.zip |
CodeGen: BlockPlacement: Increase tail duplication size for O3.
At O3 we are more willing to increase size if we believe it will improve
performance. The current threshold for tail-duplication of 2 instructions is
conservative, and can be relaxed at O3.
Benchmark results:
llvm test-suite:
6% improvement in aha, due to duplication of loop latch
3% improvement in hexxagon
2% slowdown in lpbench. Seems related, but couldn't completely diagnose.
Internal google benchmark:
Produces 4% improvement on internal google protocol buffer serialization
benchmarks.
Differential-Revision: https://reviews.llvm.org/D32324
llvm-svn: 303084
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/google-namespaces.cpp')
0 files changed, 0 insertions, 0 deletions