This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] RFC: Making control flow more explicit
- From: Pop Sébastian <pop at gauvain dot u-strasbg dot fr>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 7 Aug 2003 00:41:34 +0200
- Subject: Re: [tree-ssa] RFC: Making control flow more explicit
- References: <1060205876.3122.55.camel@frodo.toronto.redhat.com>
On Wed, Aug 06, 2003 at 05:37:57PM -0400, Diego Novillo wrote:
>
> Lately, I've been toying with the idea of making the control flow more
> explicit, something which has popped up every now and then. Currently,
> we have a few problems with the tree IL having things that are hidden
> from the optimizers and make us do more work (e.g., code insertion).
>
I like the idea of reducing the number of tree codes we use in optimizers.
Do you plan to do these simplifications during the gimplification?
If so, you have to generate code (gotos and labels) for the tree_cfg_builder.
The other solution is to use the CFG for these transformations, and in a first
time generate the corresponding trees for a CFG transformation.