aboutsummaryrefslogtreecommitdiffstats
path: root/unittests
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
commitb594a84df501385e4d90bd9531084be62cef0857 (patch)
tree89427657077ef7a3051e7c5322966708625525dd /unittests
parent45de584b4f82fbfb9cb9c50bc1fc08931b534308 (diff)
downloadexternal_llvm-b594a84df501385e4d90bd9531084be62cef0857.zip
external_llvm-b594a84df501385e4d90bd9531084be62cef0857.tar.gz
external_llvm-b594a84df501385e4d90bd9531084be62cef0857.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
0 files changed, 0 insertions, 0 deletions