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

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

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

commit r12-1115-gf7a07f5a5d8065e7f11133dd1f4ad3510ab2195b
Author: Richard Biener <rguent...@suse.de>
Date:   Fri May 28 14:26:06 2021 +0200

    tree-optimization/100778 - avoid cross-BB vectorization of trapping op

    This avoids vectorizing a possibly trapping operation when lanes
    are handled in different BBs.  I spotted this when working on the
    originally reported issue in PR100778.

    2021-05-28  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/100778
            * tree-vect-slp.c (vect_build_slp_tree_1): Prevent possibly
            trapping ops in different BBs.

            * gcc.dg/vect/bb-slp-pr100778-1.c: New testcase.

Reply via email to