summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InlineCost.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-03-31 13:17:18 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-03-31 13:17:18 +0000
commita88a0faaa3449f2a20cb3d661b4405dbcc9fe3b2 (patch)
treebb6e2ba2af93033f5d345fe07bd43067af1639f8 /llvm/lib/Analysis/InlineCost.cpp
parentedd2826f3e287c675f6e696b01eb60bd17f5efc1 (diff)
downloadbcm5719-llvm-a88a0faaa3449f2a20cb3d661b4405dbcc9fe3b2.tar.gz
bcm5719-llvm-a88a0faaa3449f2a20cb3d661b4405dbcc9fe3b2.zip
Give the always-inliner its own custom filter. It shouldn't have to pay
the very high overhead of the complex inline cost analysis when all it wants to do is detect three patterns which must not be inlined. Comment the code, clean it up, and leave some hints about possible performance improvements if this ever shows up on a profile. Moving this off of the (now more expensive) inline cost analysis is particularly important because we have to run this inliner even at -O0. llvm-svn: 153814
Diffstat (limited to 'llvm/lib/Analysis/InlineCost.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud