summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SampleProfile/Inputs
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-06-21 17:57:43 +0000
committerDehao Chen <dehao@google.com>2017-06-21 17:57:43 +0000
commit50f2aa19e8c1a5dcbae3a57ba082a23c073c1783 (patch)
treee8223c493cec9c2f2a27481321ce7653dabfedd5 /llvm/test/Transforms/SampleProfile/Inputs
parentd0e6e24a53b35202110e8512de3ac0f247f1ae4f (diff)
downloadbcm5719-llvm-50f2aa19e8c1a5dcbae3a57ba082a23c073c1783.tar.gz
bcm5719-llvm-50f2aa19e8c1a5dcbae3a57ba082a23c073c1783.zip
Do not inline recursive direct calls in sample loader pass.
Summary: r305009 disables recursive inlining for indirect calls in sample loader pass. The same logic applies to direct recursive calls. Reviewers: iteratee, davidxl Reviewed By: iteratee Subscribers: sanjoy, llvm-commits, eraman Differential Revision: https://reviews.llvm.org/D34456 llvm-svn: 305934
Diffstat (limited to 'llvm/test/Transforms/SampleProfile/Inputs')
-rw-r--r--llvm/test/Transforms/SampleProfile/Inputs/einline.prof3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Transforms/SampleProfile/Inputs/einline.prof b/llvm/test/Transforms/SampleProfile/Inputs/einline.prof
index 90f41d21ca3..df0275b5005 100644
--- a/llvm/test/Transforms/SampleProfile/Inputs/einline.prof
+++ b/llvm/test/Transforms/SampleProfile/Inputs/einline.prof
@@ -1,3 +1,6 @@
_Z3foov:200:100
1: _Z3barv:0
3: _Z3barv:100
+recursive:200:100
+ 1: recursive:100
+ 2: recursive:100
OpenPOWER on IntegriCloud