This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] Speed up IMA and aliasing


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


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