[PATCH][3/n] Reduction vectorization improvements

2015-05-26 Thread Richard Biener
This refactors code to arrange that for loop SLP we pass in the SLP node and instance to the vectorizable_* functions also at analysis phase (not only at transform phase). Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk. Richard. 2015-05-26 Richard Biener * tre

[PATCH][3/n] Reduction vectorization improvements

2015-05-22 Thread Richard Biener
This does some more cleanup and refactoring with two fixes, the pure slp compute in vect_analyze_loop_operations was failing to look at pattern stmts and the vect_is_slp_reduction hunk makes reduction detection fail because the pattern state changes in between reduction detection and vectoriztaion