RE: [PATCH] tree-optimization/120089 - force all PHIs live for early-break vect

2025-05-06 Thread Richard Biener
On Tue, 6 May 2025, Tamar Christina wrote: > > -Original Message- > > From: Richard Biener > > Sent: Tuesday, May 6, 2025 9:51 AM > > To: gcc-patches@gcc.gnu.org > > Cc: Tamar Christina ; RISC-V CI > c...@rivosinc.com> > > Subject: [PATCH] tree

RE: [PATCH] tree-optimization/120089 - force all PHIs live for early-break vect

2025-05-06 Thread Tamar Christina
> -Original Message- > From: Richard Biener > Sent: Tuesday, May 6, 2025 9:51 AM > To: gcc-patches@gcc.gnu.org > Cc: Tamar Christina ; RISC-V CI c...@rivosinc.com> > Subject: [PATCH] tree-optimization/120089 - force all PHIs live for > early-break vect > &g

[PATCH] tree-optimization/120089 - force all PHIs live for early-break vect

2025-05-06 Thread Richard Biener
The following makes sure to even mark unsupported PHIs live when doing early-break vectorization since otherwise we fail to validate we can vectorize those and generate wrong code based on the scalar PHIs which would only work with a vectorization factor of one. Bootstrapped and tested on x86_64-u