Do not overestimate code size reduction in presense of debug info.
authorDevang Patel <dpatel@apple.com>
Sat, 13 Mar 2010 00:10:20 +0000 (00:10 +0000)
committerDevang Patel <dpatel@apple.com>
Sat, 13 Mar 2010 00:10:20 +0000 (00:10 +0000)
commitcbd056074cfcd79265ee1e04e83f347355e9ad61
tree3e6ab746b8a85d9dd6a41413a997002be1025561
parente4193b20fd30e59c389814835ed2f6b3bc3b225c
Do not overestimate code size reduction in presense of debug info.
Use CodeMetrics.analyzeBasicBlock() to estimate BB size.

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