summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorJun Bum Lim <junbuml@codeaurora.org>2017-06-02 20:42:54 +0000
committerJun Bum Lim <junbuml@codeaurora.org>2017-06-02 20:42:54 +0000
commit2960d41e68f8a53548d8d003dc43390704cc69e3 (patch)
tree1628278148980df2149f61758f1fb0ea5591faef /llvm/lib/CodeGen/CodeGen.cpp
parent2c08fde9e57064871f3a8e5f3326d7d5e4a46fac (diff)
downloadbcm5719-llvm-2960d41e68f8a53548d8d003dc43390704cc69e3.tar.gz
bcm5719-llvm-2960d41e68f8a53548d8d003dc43390704cc69e3.zip
[InlineCost] Enable the new switch cost heuristic
Summary: This is to enable the new switch inline cost heuristic (r301649) by removing the old heuristic as well as the flag itself. In my experiment for LLVM test suite and spec2000/2006, +17.82% performance and 8% code size reduce was observed in spec2000/vertex with O3 LTO in AArch64. No significant code size / performance regression was found in O3/O2/Os. No significant complain was reported from the llvm-dev thread. Reviewers: hans, chandlerc, eraman, haicheng, mcrosier, bmakam, eastig, ddibyend, echristo Reviewed By: echristo Subscribers: javed.absar, kristof.beyls, echristo, aemerson, rengolin, mehdi_amini Differential Revision: https://reviews.llvm.org/D32653 llvm-svn: 304594
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud