Re: [PATCH] Fix non-INTEGER_CST step vectorization (PR tree-optimization/57741)

2013-07-02 Thread Richard Biener
Jakub Jelinek wrote: >Hi! > >My recent patch introduced a regression as shown by the attached >testcases, there was nothing actually checking the type of the >induction, >but because we allowed only INTEGER_CST steps that implied >integral/pointer >types only. With -ffast-math I don't see a reas

[PATCH] Fix non-INTEGER_CST step vectorization (PR tree-optimization/57741)

2013-06-27 Thread Jakub Jelinek
Hi! My recent patch introduced a regression as shown by the attached testcases, there was nothing actually checking the type of the induction, but because we allowed only INTEGER_CST steps that implied integral/pointer types only. With -ffast-math I don't see a reason why we can't handle floating