https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120922
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tamar Christina <tnfch...@gcc.gnu.org>: https://gcc.gnu.org/g:963d5362c598d48ee7a896e674d2a68c41179785 commit r16-2120-g963d5362c598d48ee7a896e674d2a68c41179785 Author: Tamar Christina <tamar.christ...@arm.com> Date: Wed Jul 9 08:42:02 2025 +0100 middle-end: Use rounding division for ranges for partial vectors [PR120922] This patch adds support for niters ranges for partial vector loops. Due to the last iteration being partial the bounds should be at least 1 but niters // vf as the max. gcc/ChangeLog: PR tree-optimization/120922 * tree-vect-loop-manip.cc (vect_gen_vector_loop_niters): Support range for partial vectors.