]> granicus.if.org Git - llvm/commit
Do not early-inline recursive calls in sample profile loader.
authorDehao Chen <dehao@google.com>
Thu, 8 Jun 2017 20:11:57 +0000 (20:11 +0000)
committerDehao Chen <dehao@google.com>
Thu, 8 Jun 2017 20:11:57 +0000 (20:11 +0000)
commit1d3e685c4b06aeea9fa9769e75922b914cb58647
tree23a7abda69e46064e77106e1e007887564cedd1e
parent464c05b26903949993ed6a6d551abfc845bcca3b
Do not early-inline recursive calls in sample profile loader.

Summary: Early-inlining of recursive call makes the code size bloat exponentially. We should not disable it.

Reviewers: davidxl, dnovillo, iteratee

Reviewed By: iteratee

Subscribers: iteratee, llvm-commits, sanjoy

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305009 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/SampleProfile.cpp
test/Transforms/SampleProfile/Inputs/indirect-call.prof
test/Transforms/SampleProfile/indirect-call.ll