[Bug tree-optimization/97678] [11 regression] execution fail for gcc.target/powerpc/p9-vec-length-epil-run-5.c after r11-4614

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 3 10:13:58 GMT 2020


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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:f53e9d40de7212413b361758d66aafb833173dd9

commit r11-4646-gf53e9d40de7212413b361758d66aafb833173dd9
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Nov 3 09:53:11 2020 +0100

    tree-optimization/97678 - fix SLP induction epilogue vectorization

    This restores not tracking SLP nodes for induction initial values
    in not nested context because this interferes with peeling and
    epilogue vectorization.

    2020-11-03  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/97678
            * tree-vect-slp.c (vect_build_slp_tree_2): Do not track
            the initial values of inductions when not nested.
            * tree-vect-loop.c (vectorizable_induction): Look at
            PHI node initial values again for SLP and not nested
            inductions.  Handle LOOP_VINFO_MASK_SKIP_NITERS and cost
            invariants.

            * gcc.dg/vect/pr97678.c: New testcase.


More information about the Gcc-bugs mailing list