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: [trans-mem] ipa pass for tm function cloning


2008/11/11 Jan Hubicka <hubicka@ucw.cz>:

> There is overall whopr document; but no documentatio on the current
> implementation (yet).  I will try to put something together, wonder
> where is the best place to put it to then.

doc/cgraph.texi seems like a good place (it doesn't exist yet).  We
are overhauling the IPA harness in the LTO branch, so we can add new
information there.


>> Because really, ignoring the LTO bits, I can't see that any of the
>> existing IPA passes should be anything but simple_ipa_passes.   That
>> they aren't merely complicates understanding of what's going on in
>> them.
>
> Yep, without LTO there is no much value of IPA passes, except that it
> prevents inliner from blowing up peak memory use by too much of
> inlining.

Perhaps, but we may simplify our mental model if we amalgamated simple
and regular IPA passes.  A regular IPA pass simply has additional
callbacks to read/write its summary.  A simple IPA pass would simply
ignore those.


Diego.


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