]> granicus.if.org Git - llvm/commit
[ThinLTO] Correct counting of functions in inliner stats
authorTeresa Johnson <tejohnson@google.com>
Fri, 24 Mar 2017 17:59:06 +0000 (17:59 +0000)
committerTeresa Johnson <tejohnson@google.com>
Fri, 24 Mar 2017 17:59:06 +0000 (17:59 +0000)
commitcf5d3caaabb3bb7a9bd822c464c5a0c9a573f317
tree180f9113dd14a87a7f24fa6a903f1f995f5ad222
parent65bb8eff35944edf17dd31ca67f24cb282808d7b
[ThinLTO] Correct counting of functions in inliner stats

Summary: Declarations need to be filtered out when counting functions.

Reviewers: eraman

Subscribers: Prazek, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298720 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
test/Transforms/Inline/inline_stats.ll