This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: slot combination and alias analysis


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]