diff options
author | Dehao Chen <dehao@google.com> | 2017-03-23 23:14:11 +0000 |
---|---|---|
committer | Dehao Chen <dehao@google.com> | 2017-03-23 23:14:11 +0000 |
commit | 775341a14ca7dc940a0e66fb637ec47fc7d86337 (patch) | |
tree | d71ef3a3c9fb77342087cf18d84b96dc154dacc9 /clang/lib/Sema/Sema.cpp | |
parent | 10fbac009d007fc11c92a5dc5b2fbf07781fd139 (diff) | |
download | bcm5719-llvm-775341a14ca7dc940a0e66fb637ec47fc7d86337.tar.gz bcm5719-llvm-775341a14ca7dc940a0e66fb637ec47fc7d86337.zip |
Use isFunctionHotInCallGraph to set the function section prefix.
Summary: The current prefix based function layout algorithm only looks at function's entry count, which is not sufficient. A function should be grouped together if its entry count or any call edge count is hot.
Reviewers: davidxl, eraman
Reviewed By: eraman
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D31225
llvm-svn: 298656
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
0 files changed, 0 insertions, 0 deletions