When trying to upstream "vect: Change IV increment position to
standard_iv_increment_position" with Tamars suggestion to do the
same for the other two branches I realised PR 126301 applied to these
cases too.

So I ported Tamars fix to those two cases as well, and then my
patch doesn't break everything any more :)

Patch 2 is already approved 
(https://gcc.gnu.org/pipermail/gcc-patches/2026-October/733863.html)

Bootstrapped and regression tested on aarch64-linux-gnu, x86_64-linux-gnu,
and armhf-linux-gnu.

Okay for master?

KR,
Alfie

Alfie Richards (2):
  fix: vect: Fix for avx512 and non-partial vectorization [PR 126301]
  vect: Change IV increment position to standard_iv_increment_position

 gcc/tree-vect-loop-manip.cc | 109 +++++++++++++++++++++++++++---------
 gcc/tree-vect-loop.cc       |   3 +-
 2 files changed, 85 insertions(+), 27 deletions(-)

-- 
2.55.0

Reply via email to