This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: core changes for mep port


>>> Look at the calls to cgraph_mark_edge in ipa-inline.c
>> There is no such function.  I couldn't find anything in ipa-inline
>> that (1) had access to both ends of the call edge, (2) was actually
>> called, and (3) was called before the inlining happened.
> 
> Sorry, I meant cgraph_mark_inline.  It looks like what you want to
> me.  But maybe I'm misreading it.

And cgraph_check_inline_limits (could rename it to cgraph_should_inline_p
or something like that, or just call the target hook wherever that
function is called now; the target hook should also have a parameter for
the reason why inlining is forbidden).

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]