diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-03-24 06:37:48 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-03-24 06:37:48 +0000 |
commit | 9880e57fedff6ca8174c2cdc5f130c1669a5c09b (patch) | |
tree | 4ad44203af29e98cb7c89ddd60b731e582e9fd4a /lib/CodeGen/VirtRegMap.h | |
parent | f4b941dedab7ce680107ef6e0596f6afa04bdfd4 (diff) | |
download | external_llvm-9880e57fedff6ca8174c2cdc5f130c1669a5c09b.zip external_llvm-9880e57fedff6ca8174c2cdc5f130c1669a5c09b.tar.gz external_llvm-9880e57fedff6ca8174c2cdc5f130c1669a5c09b.tar.bz2 |
Increasing the inline limit from (overly conservative) 200 to 300. Given each BB costs 20 and each instruction costs 5, 200 means a 4 BB function + 24 instructions (actually less because caller's size also contributes to it).
Furthermore, double the limit when more than 10% of the callee instructions are vector instructions. Multimedia kernels tend to love inlining.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48725 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.h')
0 files changed, 0 insertions, 0 deletions