summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SampleProfile/Inputs/einline.prof
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-09-13 21:22:55 +0000
committerDehao Chen <dehao@google.com>2017-09-13 21:22:55 +0000
commit15c86ef970dc17440310e356d94d2358f8a0a99d (patch)
treedf5ff527600e2e8b097db47c7883d1e8412f5b49 /llvm/test/Transforms/SampleProfile/Inputs/einline.prof
parent618c555bbefd2c73a874590deeb952df08a7af8e (diff)
downloadbcm5719-llvm-15c86ef970dc17440310e356d94d2358f8a0a99d.tar.gz
bcm5719-llvm-15c86ef970dc17440310e356d94d2358f8a0a99d.zip
Invoke GetInlineCost for legality check before inline functions in SampleProfileLoader.
Summary: SampleProfileLoader inlines hot functions if it is inlined in the profiled binary. However, the inline needs to be guarded by legality check, otherwise it could lead to correctness issues. Reviewers: eraman, davidxl Reviewed By: eraman Subscribers: sanjoy, llvm-commits Differential Revision: https://reviews.llvm.org/D37779 llvm-svn: 313195
Diffstat (limited to 'llvm/test/Transforms/SampleProfile/Inputs/einline.prof')
-rw-r--r--llvm/test/Transforms/SampleProfile/Inputs/einline.prof1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Transforms/SampleProfile/Inputs/einline.prof b/llvm/test/Transforms/SampleProfile/Inputs/einline.prof
index df0275b5005..624990b47ef 100644
--- a/llvm/test/Transforms/SampleProfile/Inputs/einline.prof
+++ b/llvm/test/Transforms/SampleProfile/Inputs/einline.prof
@@ -1,5 +1,6 @@
_Z3foov:200:100
1: _Z3barv:0
+ 2: no_inline:100
3: _Z3barv:100
recursive:200:100
1: recursive:100
OpenPOWER on IntegriCloud