Re: PR98974: Fix vectorizable_condition after STMT_VINFO_VEC_STMTS

2021-02-08 Thread Richard Sandiford via Gcc-patches
"Andre Vieira (lists)" writes: > On 05/02/2021 12:47, Richard Sandiford wrote: >> "Andre Vieira (lists)" writes: >>> Hi, >>> >>> As mentioned in the PR, this patch fixes up the nvectors parameter passed >>> to vect_get_loop_mask in vectorizable_condition. >>> Before the STMT_VINFO_VEC_STMTS

Re: PR98974: Fix vectorizable_condition after STMT_VINFO_VEC_STMTS

2021-02-05 Thread Andre Vieira (lists) via Gcc-patches
On 05/02/2021 12:47, Richard Sandiford wrote: "Andre Vieira (lists)" writes: Hi, As mentioned in the PR, this patch fixes up the nvectors parameter passed to vect_get_loop_mask in vectorizable_condition. Before the STMT_VINFO_VEC_STMTS rework we used to handle each ncopy separately, now

Re: PR98974: Fix vectorizable_condition after STMT_VINFO_VEC_STMTS

2021-02-05 Thread Richard Sandiford via Gcc-patches
"Andre Vieira (lists)" writes: > Hi, > > As mentioned in the PR, this patch fixes up the nvectors parameter passed to > vect_get_loop_mask in vectorizable_condition. > Before the STMT_VINFO_VEC_STMTS rework we used to handle each ncopy > separately, now we gather them all at the same time and

PR98974: Fix vectorizable_condition after STMT_VINFO_VEC_STMTS

2021-02-05 Thread Andre Vieira (lists) via Gcc-patches
Hi, As mentioned in the PR, this patch fixes up the nvectors parameter passed to vect_get_loop_mask in vectorizable_condition. Before the STMT_VINFO_VEC_STMTS rework we used to handle each ncopy separately, now we gather them all at the same time and don't need to multiply vec_num with