summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-03-24 06:37:48 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-03-24 06:37:48 +0000
commit3471ae8c5d3de87f5b064a3b0705830fc44bc328 (patch)
tree3ba9d397d46d9b4b1c88638625e791b450d95b23 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent1f5c2e7fc64afb886e022566ed36d6c51481cb3e (diff)
downloadbcm5719-llvm-3471ae8c5d3de87f5b064a3b0705830fc44bc328.tar.gz
bcm5719-llvm-3471ae8c5d3de87f5b064a3b0705830fc44bc328.zip
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. llvm-svn: 48725
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud