RE: [PATCH] Pass reduction var to vectorize_fold_left_reduction directly

2025-08-29 Thread Richard Biener
5, Tamar Christina wrote: > > > > > > > > > > -Original Message- > > > > > > From: Richard Biener > > > > > > Sent: Wednesday, August 27, 2025 2:56 PM > > > > > > To: gcc-patches@gcc.gnu.org > > > > >

RE: [PATCH] Pass reduction var to vectorize_fold_left_reduction directly

2025-08-29 Thread Tamar Christina
> -Original Message- > From: Richard Biener > Sent: Friday, August 29, 2025 9:15 AM > To: Andrew Pinski > Cc: Tamar Christina ; gcc-patches@gcc.gnu.org; RISC- > V CI > Subject: Re: [PATCH] Pass reduction var to vectorize_fold_left_reduction > directly > &g

Re: [PATCH] Pass reduction var to vectorize_fold_left_reduction directly

2025-08-29 Thread Richard Biener
ednesday, August 27, 2025 2:56 PM > > > > To: gcc-patches@gcc.gnu.org > > > > Cc: RISC-V CI ; Tamar Christina > > > > > > > > Subject: [PATCH] Pass reduction var to vectorize_fold_left_reduction > > > > directly > > > > > >

Re: [PATCH] Pass reduction var to vectorize_fold_left_reduction directly

2025-08-28 Thread Andrew Pinski
gnu.org > > > Cc: RISC-V CI ; Tamar Christina > > > > > > Subject: [PATCH] Pass reduction var to vectorize_fold_left_reduction > > > directly > > > > > > Instead of going via the PHI node def, use the scalar reduction > > > input from the reduct

RE: [PATCH] Pass reduction var to vectorize_fold_left_reduction directly

2025-08-28 Thread Richard Biener
On Wed, 27 Aug 2025, Tamar Christina wrote: > > -Original Message- > > From: Richard Biener > > Sent: Wednesday, August 27, 2025 2:56 PM > > To: gcc-patches@gcc.gnu.org > > Cc: RISC-V CI ; Tamar Christina > > > > Subject: [PATCH] Pass redu

RE: [PATCH] Pass reduction var to vectorize_fold_left_reduction directly

2025-08-27 Thread Tamar Christina
> -Original Message- > From: Richard Biener > Sent: Wednesday, August 27, 2025 2:56 PM > To: gcc-patches@gcc.gnu.org > Cc: RISC-V CI ; Tamar Christina > > Subject: [PATCH] Pass reduction var to vectorize_fold_left_reduction directly > > Instead of going vi

[PATCH] Pass reduction var to vectorize_fold_left_reduction directly

2025-08-27 Thread Richard Biener
Instead of going via the PHI node def, use the scalar reduction input from the reduction stmt. Bootstrapped and tested on x86_64-unknown-linux-gnu. Sorry for the re-post, this is now re-based on pristine trunk, hopefully making git am happy. * tree-vect-loop.cc (vectorize_fold_left_reduc

[PATCH] Pass reduction var to vectorize_fold_left_reduction directly

2025-08-27 Thread Richard Biener
Instead of going via the PHI node def, use the scalar reduction input from the reduction stmt. Bootstrapped and tested on x86_64-unknown-linux-gnu. I'll wait for risc-v CI and hope for aarch64 CI as well ... Thanks, Richard. * tree-vect-loop.cc (vectorize_fold_left_reduction): Get