Re: [PATCH] tree-optimization/104112 - add check for vect epilogue reduc reuse

2022-01-19 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > This adds a missing check for the availability of intermediate vector > types required to re-use the accumulator of a vectorized reduction > in the vectorized epilogue. For SVE and VNx2DF vs V2DF with > -msve-vector-bits=512 for example V4DF is not available. > > In addit

[PATCH] tree-optimization/104112 - add check for vect epilogue reduc reuse

2022-01-19 Thread Richard Biener via Gcc-patches
This adds a missing check for the availability of intermediate vector types required to re-use the accumulator of a vectorized reduction in the vectorized epilogue. For SVE and VNx2DF vs V2DF with -msve-vector-bits=512 for example V4DF is not available. In addition to that we have to verify the r