This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Speed up IMA and aliasing
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 09 Aug 2004 19:19:36 -0700
- Subject: Re: [PATCH] Speed up IMA and aliasing
- References: <5403ECA4-E995-11D8-878C-00039351ED8A@physics.uc.edu>
Andrew Pinski <pinskia@physics.uc.edu> writes:
> I found that even though we get the aliasing sets for compatible
> structs we do not set the compatible struct's ALIAS_SET so we have to
> find the aliasing set again and again which can be slow if the struct
> contains enumeration because it has to compare the enumeration to make
> sure that it has the right values in it.
>
> This patch fixes this problem by setting the aliasing set of the
> compatible struct before returning the aliasing set.
>
> OK? Bootstrapped on powerpc-apple-darwin and speeds up compiling of
> mesa in SPEC a huge amount.
Ok. (Please fix your mailer, it's wrapping lines at something like
160 columns which makes them tedious to read.)
zw