[PATCH] Speed up IMA and aliasing

Zack Weinberg zack@codesourcery.com
Tue Aug 10 02:40:00 GMT 2004

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.)


More information about the Gcc-patches mailing list