This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: proposal for compilation unil wide alias analyis
- From: Jan Hubicka <jh at suse dot cz>
- To: Kenneth Zadeck <zadeck at naturalbridge dot com>
- Cc: gcc at gcc dot gnu dot org, Jan Hubicka <jh at suse dot cz>,Stuart Hastings <stuart at apple dot com>,Geoffrey Keating <geoffk at apple dot com>,Mark Mitchell <mark at codesourcery dot com>,Devang Patel <dpatel at apple dot com>,"Novillo, Diego" <dnovillo at redhat dot com>,"Berlin, Daniel" <dberlin at dberlin dot org>,"Edelsohn, David" <dje at watson dot ibm dot com>,Dale Johannesen <dalej at apple dot com>, Ron Price <ronp at apple dot com>
- Date: Sat, 26 Jun 2004 00:08:52 +0200
- Subject: Re: proposal for compilation unil wide alias analyis
- References: <40DB07B2.1090108@naturalbridge.com>
> However, Stuart Hastings of Apple appears to be close to having a
> working branch of the compiler that gimplifies an entire compilation
> unit. This code is on the tree-profile-branch and was done in order
> to support better inlining.
I have nothing against having this cahnges directly on the
tree-profiling-branch assuming that they won't end up touching very many
different places of compiler making the patch separation dificult later
(I won't expect so here).
However the mainline might be good as well as we already do have
functions gimplified at the time cgraph_analize is called (ie when you
would like to do the analysis). Only frontend going generic right now
is fortran and it gimplify early in order to get functions un-nested.
For context insensitive points to this should be all you need to get
functions analyzed easilly.
Also I was under impression that doing basic IPA alias analysis should
be just question of hooking Daniel's points to analyzers into
cgraph code (ideally we would like to do points-to before cgraph is
build so we can do sane estimations on indirect calls - not the overly
pesimistic stuff we do right now) and our existing RTL/tree alias
analyziers. I believe part (most?) of this should be done already.
I am on the trip till 30th, but I will definitly look deeper into this
afterwards.
Honza