]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/122110 - do not reject all bit-precision reductions
authorRichard Biener <rguenther@suse.de>
Wed, 1 Oct 2025 09:26:45 +0000 (11:26 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 1 Oct 2025 11:49:53 +0000 (13:49 +0200)
commitc6865e7e15bc9a1337df00d2ca03604e1712a2dd
treef6a02786bc2331a701b3d238c31a58d1c5677e88
parenta52f635700681ddfd85d1ea5b0580ec780c78d58
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.
gcc/tree-vect-loop.cc