https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125597

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tamar Christina <[email protected]>:

https://gcc.gnu.org/g:46f07a7b7d4d5b391723a756e5fb7673800bac57

commit r17-1511-g46f07a7b7d4d5b391723a756e5fb7673800bac57
Author: Tamar Christina <[email protected]>
Date:   Fri Jun 12 11:56:54 2026 +0100

    vect: use .VARYING for early break IV [PR125597]

    Similar to the mask control variable, this replaces and adds the temporary
SSA
    var for early break scalar IVs with an IFN_VARYING until the replacement is
done
    when we start vectorization.

    This prevents similar issues as the mask control variable when the IV
    expressions are folded.

    gcc/ChangeLog:

            PR tree-optimization/125597
            * tree-vect-loop-manip.cc (vect_do_peeling): Create IFN_VARYING for
            early break scalar IV.
            * tree-vect-loop.cc
(vect_update_ivs_after_vectorizer_for_early_breaks):
            Replace the IFN_VARYING with actual value.

Reply via email to