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: evan dot cheng at apple dot com (Evan Cheng)
- Cc: gcc-patches at gcc dot gnu dot org (gcc-patches)
- Date: Thu, 10 Nov 2005 17:32:08 -0500 (EST)
- Subject: Re: [PATCH] Tweaking loop-invariant.c
> 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.
> We can, however, turn on the RTL LICM pass to move them after they
> have been lowered into non-calls.
Just a note, loop-invariant.c is really broken currently see the
patches which Steven B. posted today:
http://gcc.gnu.org/ml/gcc-patches/2005-11/msg00736.html
http://gcc.gnu.org/ml/gcc-patches/2005-11/msg00737.html
And also PR 24762 which shows that it is broken for exception code.
Thanks,
Andrew Pinski