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

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

https://gcc.gnu.org/g:092e98d94080ca253dc4ef6957d6efaeccb88df6

commit r11-9225-g092e98d94080ca253dc4ef6957d6efaeccb88df6
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Oct 12 13:42:08 2021 +0200

    tree-optimization/102572 - fix gathers with invariant mask

    This fixes the vector def gathering for invariant masks which
    failed to pass in the desired vector type resulting in a non-mask
    type to be generate.

    2021-10-12  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/102572
            * tree-vect-stmts.c (vect_build_gather_load_calls): When
            gathering the vectorized defs for the mask pass in the
            desired mask vector type so invariants will be handled
            correctly.

            * g++.dg/vect/pr102572.cc: New testcase.

    (cherry picked from commit 9f12a45ef147e563f099c24c293830727e8204cc)
  • [Bug tree-optimization/102572] ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to