This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: split_edge cleanup
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: split_edge cleanup
- From: Richard Henderson <rth at redhat dot com>
- Date: Wed, 27 Jun 2001 10:58:38 -0700
- Cc: gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- References: <20010627123357.B10187@atrey.karlin.mff.cuni.cz>
On Wed, Jun 27, 2001 at 12:33:57PM +0200, Jan Hubicka wrote:
> + /* Attempt to change code to redirect edge E to destinate in TARGET.
redirect the destination of edge E to TARGET
> + if (!(e->flags & EDGE_FALLTHRU))
> + {
...
> + }
> + else
> + return 0;
Clearer written as
if (e->flags & EDGE_FALLTHRU)
return 0;
...
> if ((edge_in->flags & EDGE_FALLTHRU) == 0)
> ! redirect_edge_and_branch (edge_in, bb);
Should abort if redirect_edge_and_branch fails.
Otherwise ok.
r~