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