OSDN Git Service

Don't give a massive inlining cost bonus to available_externally
authorEli Friedman <eli.friedman@gmail.com>
Wed, 22 Jul 2009 08:12:59 +0000 (08:12 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 22 Jul 2009 08:12:59 +0000 (08:12 +0000)
commit6dae757a071fc033c1989b2e4eaca9718dc4302c
tree3bde863c5e9ea2c4afe6fd5606b9cc831d5692a9
parent756da12ae4030259d98fefbe26f840d49f71898e
Don't give a massive inlining cost bonus to available_externally
functions with a single use; eliminating the single use may eliminate
the function from the current module, but usually doesn't eliminate
it from the final program.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76730 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineCost.cpp