RE: [PATCH]middle-end: support SLP early break

2024-10-11 Thread Tamar Christina
> -Original Message- > From: Richard Biener > Sent: Friday, October 11, 2024 8:11 AM > To: Tamar Christina > Cc: gcc-patches@gcc.gnu.org; nd ; j...@ventanamicro.com > Subject: RE: [PATCH]middle-end: support SLP early break > > On Thu, 10 Oct 2024, Tamar Christi

RE: [PATCH]middle-end: support SLP early break

2024-10-11 Thread Richard Biener
On Thu, 10 Oct 2024, Tamar Christina wrote: > > > e.g. if (a != 0) where a is loop invariant. For instance test_memcmp_1_1 > > > in /gcc.dg/memcmp-1.c is such loop. Technically we should be able to > > > vectorize such loops, but while we can represent externals in the SLP > > > tree, > > > we

RE: [PATCH]middle-end: support SLP early break

2024-10-10 Thread Tamar Christina
> > e.g. if (a != 0) where a is loop invariant. For instance test_memcmp_1_1 > > in /gcc.dg/memcmp-1.c is such loop. Technically we should be able to > > vectorize such loops, but while we can represent externals in the SLP tree, > > we can't start discovery at them, as no stmt_info for them. >

RE: [PATCH]middle-end: support SLP early break

2024-10-09 Thread Tamar Christina
> -Original Message- > From: Richard Biener > Sent: Wednesday, October 9, 2024 9:20 AM > To: Tamar Christina > Cc: gcc-patches@gcc.gnu.org; nd ; j...@ventanamicro.com > Subject: RE: [PATCH]middle-end: support SLP early break > > On Tue, 8 Oct 202

RE: [PATCH]middle-end: support SLP early break

2024-10-09 Thread Richard Biener
On Tue, 8 Oct 2024, Tamar Christina wrote: > > -Original Message- > > From: Richard Biener > > Sent: Wednesday, October 2, 2024 1:50 PM > > To: Tamar Christina > > Cc: gcc-patches@gcc.gnu.org; nd ; j...@ventanamicro.com > > Subject: Re: [PATCH

RE: [PATCH]middle-end: support SLP early break

2024-10-08 Thread Tamar Christina
> -Original Message- > From: Richard Biener > Sent: Wednesday, October 2, 2024 1:50 PM > To: Tamar Christina > Cc: gcc-patches@gcc.gnu.org; nd ; j...@ventanamicro.com > Subject: Re: [PATCH]middle-end: support SLP early break > > On Tue, 1 Oct 2024, Tamar Christ

RE: [PATCH]middle-end: support SLP early break

2024-10-02 Thread Tamar Christina
> -Original Message- > From: Richard Biener > Sent: Wednesday, October 2, 2024 1:50 PM > To: Tamar Christina > Cc: gcc-patches@gcc.gnu.org; nd ; j...@ventanamicro.com > Subject: Re: [PATCH]middle-end: support SLP early break > > On Tue, 1 Oct 2024, Tamar Christ

Re: [PATCH]middle-end: support SLP early break

2024-10-02 Thread Richard Biener
On Tue, 1 Oct 2024, Tamar Christina wrote: > Hi all, > > This patch introduces feature parity for early break int the SLP only > vectorizer. > > The approach taken here is to treat the early exits as root statements for an > SLP tree. This means that we don't need any changes to build_slp to su