This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Update loop analysis 1/2
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Pop Sébastian <pop at gauvain dot u-strasbg dot fr>
- Cc: gcc-patches at gcc dot gnu dot org, dnovillo at redhat dot com
- Date: Thu, 31 Jul 2003 17:07:13 +0200
- Subject: Re: [tree-ssa] Update loop analysis 1/2
- References: <20030730221945.GC10639@gauvain.u-strasbg.fr>
> Hi,
>
> The problem with the main branch is that it uses the basic_block.aux
> field for storing the number of back-edges during the loops detection.
> This patch inserts the basic_block.num_latches field, and uses it
> instead of the basic_block.aux field.
Why you don't change tree-SSA to use it's own field instead of abusing
aux field to do so. Aux is intended for temporaly use and num_latches
seems to fit it, while tree-SSA usage seem not.
Honza