aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-05-01 01:05:10 +0000
committerChris Lattner <sabre@nondot.org>2010-05-01 01:05:10 +0000
commit41c33d362de8e8bd37d36364ad31192b701d023f (patch)
treeaba3694ba2e263e867cc0151f1d96690d7f053b1 /CMakeLists.txt
parenta6ef48a1ddd2dc4c1440eaab619df2539892ddcc (diff)
downloadexternal_llvm-41c33d362de8e8bd37d36364ad31192b701d023f.zip
external_llvm-41c33d362de8e8bd37d36364ad31192b701d023f.tar.gz
external_llvm-41c33d362de8e8bd37d36364ad31192b701d023f.tar.bz2
The inliner has traditionally not considered call sites
that appear due to inlining a callee as candidates for futher inlining, but a recent patch made it do this if those call sites were indirect and became direct. Unfortunately, in bizarre cases (see testcase) doing this can cause us to infinitely inline mutually recursive functions into callers not in the cycle. Fix this by keeping track of the inline history from which callsite inline candidates got inlined from. This shouldn't affect any "real world" code, but is required for a follow on patch that is coming up next. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102822 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions