]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix SLP double-reduction support
authorRichard Biener <rguenther@suse.de>
Fri, 6 Sep 2024 11:24:38 +0000 (13:24 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 6 Sep 2024 12:15:04 +0000 (14:15 +0200)
commitea9d4bf45ef906b990abdb101297e34366059f1c
tree100d47f58e756e4cc1ab5d02f22512d85c9319d3
parent964577c31df206d780d5cc7bc07189d44de2719e
Fix SLP double-reduction support

When doing SLP discovery I forgot to handle double reductions even
though they are already queued in LOOP_VINFO_REDUCTIONS.

* tree-vect-slp.cc (vect_analyze_slp): Also handle discovery
for double reductions.
gcc/tree-vect-slp.cc