Re: [PATCH] [RFC] Add constant_multiple_if_divisor_nonzero_p

2024-08-30 Thread Richard Biener
On Fri, 30 Aug 2024, Richard Sandiford wrote: > Richard Biener writes: > > With recent SLP vectorization patches I see RISC-V divison by zero > > for gfortran.dg/matmul_10.f90 and others in get_group_load_store_type > > which does > > > > && can_div_trunc_p (group_size > >

Re: [PATCH] [RFC] Add constant_multiple_if_divisor_nonzero_p

2024-08-30 Thread Richard Sandiford
Richard Biener writes: > With recent SLP vectorization patches I see RISC-V divison by zero > for gfortran.dg/matmul_10.f90 and others in get_group_load_store_type > which does > > && can_div_trunc_p (group_size > * LOOP_VINFO_VECT_FACTOR (loop_vinfo

[PATCH] [RFC] Add constant_multiple_if_divisor_nonzero_p

2024-08-30 Thread Richard Biener
With recent SLP vectorization patches I see RISC-V divison by zero for gfortran.dg/matmul_10.f90 and others in get_group_load_store_type which does && can_div_trunc_p (group_size * LOOP_VINFO_VECT_FACTOR (loop_vinfo) - gap,