This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Tree profilng merge 1 - allow inserting onto edge to EXIT_BLOCK
- From: Jeffrey A Law <law at redhat dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 07 Jun 2004 07:38:23 -0600
- Subject: Re: Tree profilng merge 1 - allow inserting onto edge to EXIT_BLOCK
- Organization: Red Hat, Inc
- References: <20040528105245.GI22699@kam.mff.cuni.cz> <20040606234550.GB24957@redhat.com>
- Reply-to: law at redhat dot com
On Sun, 2004-06-06 at 17:45, Richard Henderson wrote:
> On Fri, May 28, 2004 at 12:52:45PM +0200, Jan Hubicka wrote:
> > * gimple-low.c (tree_find_edge_insert_loc): Allow inserting before
> > return_stmt.
>
> Wait on this. Jason and I talked about redefining things such that
> we only ever have one RETURN_EXPR in a function, and that it always
> only contains just the result_decl.
>
> I have the solution prototyped; we'll see what kind of uglies I run
> into.
Keep me informed -- how you do this has some implications for
Andrew's code (which I've taken review responsibility for) to
optimize stuff like
if (cond)
return x;
else
return y;
Jeff