This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: slot combination and alias analysis
- To: mike stump <mrs at windriver dot com>
- Subject: Re: slot combination and alias analysis
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 5 Oct 2001 16:52:49 -0700
- Cc: gcc at gcc dot gnu dot org
- References: <200110052341.QAA00394@kankakee.wrs.com>
On Fri, Oct 05, 2001 at 04:41:43PM -0700, mike stump wrote:
> It seems that with:
>
> /* See if the first alias set is a subset of the second. */
> ase = get_alias_set_entry (set1);
>
> of alias_sets_conflict_p (set1, set2), that it would be possible to
> generate a new alias set, and have it inherit from the two parents
> (using record_alias_subset) that are being combined.
Yes, that is possible. What isn't (or wasn't) is to track down all
of the MEMs we've generated that reference that stack slot to update
their alias sets.
Perhaps with Kenner's changes to use MEM_ATTRS a struct we no longer
need to actually track down the MEMs, we can just walk the structs
to find the slots.
r~