This is the mail archive of the gcc-patches@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: [RFA][lto merge]: support for cgraph node sets


> This patch adds support for creating callgraph node sets.  This
> is used during LTO compilation to partition the callgraph into
> subsets for work distribution.
> 
> This feature is currently not exercised in mainline, but I would
> like to merge it early to avoid too much code drift with the
> other changes coming in from pretty-ipa and other ipa work.
> 
> Jan, are you OK with this?

It seems OK with me.
The overall scheme is to put stuff related to IPA optimization that
works on callgraph into ipa*.c and separate header (i.e. keep cgraph
about datastructure itself and cgraphunit about collecting data from
frontends and driving passmanager). So it would seem to make more sense
to have this in ipa-utils.h.  But declaring this part of cgraph
seems fine with me too.  Move the actual implementation to ipa.c though,
we do have stuff like cgraph postorder there too.

Honza


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