[llvm-commits] [llvm] r99483 - in /llvm/trunk: include/llvm/Instructions.h include/llvm/Support/CallSite.h lib/Analysis/InlineCost.cpp lib/VMCore/Instructions.cpp test/Transforms/Inline/noinline.ll

Eric Christopher echristo at apple.com
Wed Mar 24 22:05:30 PDT 2010


On Mar 24, 2010, at 9:57 PM, Chris Lattner wrote:

> 
> On Mar 24, 2010, at 9:49 PM, Eric Christopher wrote:
> 
>> Author: echristo
>> Date: Wed Mar 24 23:49:10 2010
>> New Revision: 99483
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=99483&view=rev
>> Log:
>> Reapply r99451 with a fix to move the NoInline check to the cost functions
>> instead of InlineFunction.
> 
> Cool thanks... but what's the difference?

It allows someone to call InlineFunction if they decide they really want to inline something and the inliner pass will use the costs - including NeverInline from the CallSite.

-eric



More information about the llvm-commits mailing list