This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Tweaking loop-invariant.c
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: dalej at apple dot com (Dale Johannesen)
- Cc: evan dot cheng at apple dot com (Evan Cheng), dalej at apple dot com (Dale Johannesen), gcc-patches at gcc dot gnu dot org (gcc-patches), pinskia at physics dot uc dot edu (Andrew Pinski)
- Date: Thu, 10 Nov 2005 17:38:21 -0500 (EST)
- Subject: Re: [PATCH] Tweaking loop-invariant.c
>
>
> On Nov 10, 2005, at 2:32 PM, Andrew Pinski wrote:
>
> >> Hi,
> >>
> >> We have found that since builtin calls (e.g.
> >> __builtin_ia32_pslldgi128) are not marked pure or const. The tree ssa
> >> loop invariant code motion pass does not hoist them out of the loops.
>
> How about marking them pure and/or const, if they are?
That is PR 21588 and there is a patch there but there was some concerns
that this would cause more register pressure.
-- Pinski