Go to file
Easwaran Raman e08b139d7d Refactor inline threshold update code.
Functional change: Previously, if a callee is cold, we used ColdThreshold if it minimizes the existing threshold. This was irrespective of whether we were optimizing for minsize (-Oz) or not. But -Oz uses very low threshold to begin with and the inlining with -Oz is expected to be tuned for lowering code size, so there is no good reason to set an even lower threshold for cold callees. We now lower the threshold for cold callees only when -Oz is not used. For default values of -inlinethreshold and -inlinecold-threshold, this change has no effect and this simplifies the code.

NFC changes: Group all threshold updates that are guarded by !Caller->optForMinSize() and within that group threshold updates that require profile summary info.

Differential revision: https://reviews.llvm.org/D28369

llvm-svn: 291487
2017-01-09 21:56:26 +00:00
clang PR31587: Fix handling of __FUNCSIG__ in C. 2017-01-09 21:40:40 +00:00
clang-tools-extra [include-fixer] Load symbol index asynchronously. 2017-01-09 15:18:28 +00:00
compiler-rt [compiler-rt] Include <dlfcn.h> unconditionally 2017-01-09 17:39:31 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx Move _PairT declaration out of __hash_combine to avoid warning under C++98 2017-01-09 20:29:35 +00:00
libcxxabi [libcxxabi] Cleanup and adapt for r291275. NFC. 2017-01-09 11:57:21 +00:00
libunwind EHABI: mark some functions as exported 2016-11-17 23:53:35 +00:00
lld ELF: Discard .gnu.linkonce.* sections. 2017-01-09 20:26:33 +00:00
lldb Fix dereferencing of pointers to empty classes 2017-01-07 16:39:07 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm Refactor inline threshold update code. 2017-01-09 21:56:26 +00:00
openmp [CMake] Make openmp build under runtimes/ 2017-01-04 18:11:37 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly www: Add dates RSS news 2017-01-08 09:28:10 +00:00