[Bug tree-optimization/122110] bool prevents vectorization of simple loops

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 1 11:50:26 GMT 2025


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

--- Comment #4 from GCC 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:c6865e7e15bc9a1337df00d2ca03604e1712a2dd

commit r16-4156-gc6865e7e15bc9a1337df00d2ca03604e1712a2dd
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Oct 1 11:26:45 2025 +0200

    tree-optimization/122110 - do not reject all bit-precision reductions

    We can handle bitwise-operation reductions and reductions on mask
    vectors just fine.

            PR tree-optimization/122110
            * tree-vect-loop.cc (vectorizable_reduction): Relax restriction
            to mode-precision operations.


More information about the Gcc-bugs mailing list