Go to file
Teresa Johnson 82b4fb1afe [ThinLTO] Ensure we always select the same function copy to import
Summary:
Check if the first eligible callee is under the instruction threshold.
Checking this on the first eligible callee ensures that we don't end
up selecting different callees to import when we invoke this routine
with different thresholds due to reaching the callee via paths that
are shallower or hotter (when there are multiple copies, i.e. with
weak or linkonce linkage). We don't want to leave the decision of which
copy to import up to the backend.

Reviewers: mehdi_amini

Subscribers: inglorion, fhahn, llvm-commits

Differential Revision: https://reviews.llvm.org/D35436

llvm-svn: 308078
2017-07-15 04:53:05 +00:00
clang [ODRHash] Revert r307743 which reverted r307720 2017-07-15 02:55:13 +00:00
clang-tools-extra [clang-tidy] Minor documentation fix. NFC. 2017-07-14 12:31:21 +00:00
compiler-rt [compiler-rt] [CMake] Build compiler-rt with no optimizations if the flag says so 2017-07-15 00:30:46 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx [libc++] Clean up cl warning 4231 disabling 2017-07-14 03:56:54 +00:00
libcxxabi [demangler] Respect try_to_parse_template_args 2017-07-13 19:37:37 +00:00
libunwind [libunwind][CMake] Add install path variable to allow overriding the destination 2017-07-11 01:12:09 +00:00
lld Avoid using OutputSections::Sections. 2017-07-14 22:26:16 +00:00
lldb Fix debugserver accepting remote connections 2017-07-13 20:58:13 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [ThinLTO] Ensure we always select the same function copy to import 2017-07-15 04:53:05 +00:00
openmp [GOMP] Fix (un)tied tasks with the GCC 2017-07-13 10:38:11 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly update isl to: isl-0.18-791-ga22eb92 2017-07-14 10:36:00 +00:00