This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Allow merging blocks with phi nodes
- From: Andrew MacLeod <amacleod at redhat dot com>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 16 May 2005 15:57:11 -0400
- Subject: Re: [patch] Allow merging blocks with phi nodes
- References: <20050516191822.GB16082@atrey.karlin.mff.cuni.cz>
On Mon, 2005-05-16 at 15:18, Zdenek Dvorak wrote:
>
> New version of fold_stmt (fold_stmt_inplace) is necessary, since
> fold_stmt may replace the whole statement, but we cannot get the pointer
> to statement from immediate uses, only the statement itself.
Isn't that what bsi_for_stmt () is for?
Andrew