Only apply the devirtualization bonus once instead of per-call site in the
authorEric Christopher <echristo@apple.com>
Sat, 22 Jan 2011 21:17:33 +0000 (21:17 +0000)
committerEric Christopher <echristo@apple.com>
Sat, 22 Jan 2011 21:17:33 +0000 (21:17 +0000)
commit7020f12ee8cf8fbf7d5343239c52655352867ccd
treefc4bec10b87091f4c157504c1939d16505b37ed8
parent8184e289db45acd0bd8bbf7087f7a1274ef55f15
Only apply the devirtualization bonus once instead of per-call site in the
target function.

Fixes part of rdar://8546196

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