[llvm-commits] [llvm] r94615 - in /llvm/trunk: include/llvm/Analysis/InlineCost.h lib/Analysis/InlineCost.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue Jan 26 16:35:33 PST 2010


On Jan 26, 2010, at 4:29 PM, Sandeep Patel wrote:

> It seems to me that InlineConstants::CallPenalty wants to be replaced
> by a lookup that knows about builtins. e.g. functions that call
> printf() a lot aren't as valuable to inline since printf() takes
> forever anyway.

Do you think we need more than what callIsSmall() currently does?




More information about the llvm-commits mailing list