OSDN Git Service

[ThinLTO] Don't re-analyze callee at same threshold unnecessarily
authorTeresa Johnson <tejohnson@google.com>
Wed, 11 May 2016 22:56:19 +0000 (22:56 +0000)
committerTeresa Johnson <tejohnson@google.com>
Wed, 11 May 2016 22:56:19 +0000 (22:56 +0000)
commita8330647b24d8a79212f0378dd6b5f99e83e62e9
treef06eef360d72ef7cde2a287f92d892ffa923eddb
parent825e5aadeb861c87cbcf278e3695037973c121d8
[ThinLTO] Don't re-analyze callee at same threshold unnecessarily

This should just be a compile-time change. Correct the check for whether
we have already analyzed the callee when making summary based decisions.
There is no need to reprocess one at the same threshold as when it was
last processed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269251 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/FunctionImport.cpp