On Fri, Apr 1, 2011 at 8:43 AM, Ira Rosen <ira.ro...@linaro.org> wrote: > On 30 March 2011 15:09, Ira Rosen <ira.ro...@linaro.org> wrote: >> >> I don't see any :) I'll test your version. >> > > Bootstrapped on powerpc64-suse-linux and tested on x86_64-suse-linux > the attached patch. > > OK to apply?
Ok. Thanks, Richard. > Thanks, > Ira > > ChangeLog: > > * tree-if-conv.c (memrefs_read_or_written_unconditionally): Strip all > non-variable offsets and compare the remaining bases of the two > accesses instead of looking for exact same data-ref. > > testsuite/ChangeLog: > > * gcc.dg/vect/if-cvt-stores-vect-ifcvt-18.c: New test. > * gcc.dg/vect/vect.exp: Run if-cvt-stores-vect* tests with > -ftree-loop-if-convert-stores. >