This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18557] Inefficient code generated by -ftree-vectorize on Alpha
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Nov 2004 14:21:37 -0000
- Subject: [Bug tree-optimization/18557] Inefficient code generated by -ftree-vectorize on Alpha
- References: <20041118235414.18557.falk@debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-19 14:21 -------
(In reply to comment #2)
> Subject: Re: Inefficient code generated by
> -ftree-vectorize on Alpha
> On Fri, 2004-11-19 at 00:04 +0000, pinskia at gcc dot gnu dot org wrote:
> > ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-19 00:04 -------
> > Confirmed.
> > One issue is that we don't fold stuff:
> > D.1061 = 8 - 1;
> > D.1065 = 2 - 1;
>
> We correctly rely on CCP to clean it up :)
>
> Having every single pass fold every statement it generates isn't
> necessarily a win when CCP will do it for you :)
This is how the vectorizer produced the statement in the first place.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18557