Re: [PATCH 2/4]middle-end: lower COND_EXPR into gimple form in vect_recog_bool_pattern

2024-09-06 Thread Richard Biener
> Am 06.09.2024 um 15:28 schrieb Tamar Christina : > >  >> >> -Original Message- >> From: Richard Biener >> Sent: Friday, September 6, 2024 2:09 PM >> To: Tamar Christina >> Cc: gcc-patches@gcc.gnu.org; nd ; j...@ventanamicro.com

RE: [PATCH 2/4]middle-end: lower COND_EXPR into gimple form in vect_recog_bool_pattern

2024-09-06 Thread Tamar Christina
> -Original Message- > From: Richard Biener > Sent: Friday, September 6, 2024 2:09 PM > To: Tamar Christina > Cc: gcc-patches@gcc.gnu.org; nd ; j...@ventanamicro.com > Subject: Re: [PATCH 2/4]middle-end: lower COND_EXPR into gimple form in > vect_recog_bool_patte

Re: [PATCH 2/4]middle-end: lower COND_EXPR into gimple form in vect_recog_bool_pattern

2024-09-06 Thread Richard Biener
On Tue, 3 Sep 2024, Tamar Christina wrote: > Hi All, > > Currently the vectorizer cheats when lowering COND_EXPR during bool recog. > In the cases where the conditonal is loop invariant or non-boolean it instead > converts the operation back into GENERIC and hides much of the operation from > the

[PATCH 2/4]middle-end: lower COND_EXPR into gimple form in vect_recog_bool_pattern

2024-09-03 Thread Tamar Christina
Hi All, Currently the vectorizer cheats when lowering COND_EXPR during bool recog. In the cases where the conditonal is loop invariant or non-boolean it instead converts the operation back into GENERIC and hides much of the operation from the analysis part of the vectorizer. i.e. a ? b : c is