diff options
| author | Teresa Johnson <tejohnson@google.com> | 2017-03-24 17:59:06 +0000 |
|---|---|---|
| committer | Teresa Johnson <tejohnson@google.com> | 2017-03-24 17:59:06 +0000 |
| commit | 428b9e0627883ff2b736f191f66dfdc0ef6b48e0 (patch) | |
| tree | 44a19c25c68c118621ac8f6eb471182f9e47e1c1 /llvm/test/Transforms/Inline | |
| parent | 80e3d5bb24ad24f42c8a2da8e8091ddc17dfee61 (diff) | |
| download | bcm5719-llvm-428b9e0627883ff2b736f191f66dfdc0ef6b48e0.tar.gz bcm5719-llvm-428b9e0627883ff2b736f191f66dfdc0ef6b48e0.zip | |
[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
llvm-svn: 298720
Diffstat (limited to 'llvm/test/Transforms/Inline')
| -rw-r--r-- | llvm/test/Transforms/Inline/inline_stats.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Transforms/Inline/inline_stats.ll b/llvm/test/Transforms/Inline/inline_stats.ll index cf0d43e9215..bc005b6afd5 100644 --- a/llvm/test/Transforms/Inline/inline_stats.ll +++ b/llvm/test/Transforms/Inline/inline_stats.ll @@ -36,9 +36,12 @@ define void @internal3() { ret void } +declare void @external_decl() + define void @external1() alwaysinline !thinlto_src_module !0 { call fastcc void @internal2() call fastcc void @external2(); + call void @external_decl(); ret void } |

