Re: [PATCH]middle-end: correctly identify the edge taken when condition is true. [PR113287]

2024-01-10 Thread Jakub Jelinek
anamicro.com > > Subject: Re: [PATCH]middle-end: correctly identify the edge taken when > > condition > > is true. [PR113287] > > > > Hi! > > > > Thanks for fixing it, just testsuite nits. > > > > On Wed, Jan 10, 2024 at 03:22:53PM +0100, Rich

RE: [PATCH]middle-end: correctly identify the edge taken when condition is true. [PR113287]

2024-01-10 Thread Tamar Christina
> -Original Message- > From: Jakub Jelinek > Sent: Wednesday, January 10, 2024 2:42 PM > To: Tamar Christina ; Richard Biener > > Cc: gcc-patches@gcc.gnu.org; nd ; j...@ventanamicro.com > Subject: Re: [PATCH]middle-end: correctly identify the edge taken when

Re: [PATCH]middle-end: correctly identify the edge taken when condition is true. [PR113287]

2024-01-10 Thread Jakub Jelinek
Hi! Thanks for fixing it, just testsuite nits. On Wed, Jan 10, 2024 at 03:22:53PM +0100, Richard Biener wrote: > > --- /dev/null > > +++ b/gcc/testsuite/gcc.dg/vect/vect-early-break_100-pr113287.c > > @@ -0,0 +1,35 @@ > > +/* { dg-add-options vect_early_break } */ > > +/* {

Re: [PATCH]middle-end: correctly identify the edge taken when condition is true. [PR113287]

2024-01-10 Thread Richard Biener
On Wed, 10 Jan 2024, Tamar Christina wrote: > Hi All, > > The vectorizer needs to know during early break vectorization whether the edge > that will be taken if the condition is true stays or leaves the loop. > > This is because the code assumes that if you take the true branch you exit the >