]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/116566 - single lane SLP for VLA inductions
authorRichard Biener <rguenther@suse.de>
Mon, 30 Sep 2024 15:06:24 +0000 (17:06 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 2 Oct 2024 09:12:21 +0000 (11:12 +0200)
commitba7632674a2a9ba8193f082c8ca9614c642de3b7
treeeae8846c5eed8a14e7833150f0b4725f933d2d53
parent56d0ee7a8652a212f23148038c6c0c8afcdb66ad
tree-optimization/116566 - single lane SLP for VLA inductions

The following adds SLP support for vectorizing single-lane inductions
with variable length vectors.

PR tree-optimization/116566
* tree-vect-loop.cc (vectorizable_induction): Handle single-lane
SLP for VLA vectors.

* gcc.dg/tree-ssa/reassoc-46.c: When using partial vectors
the dump-scan doesn't look for the required .COND_ADD so
skip for partial vectors.
gcc/testsuite/gcc.dg/tree-ssa/reassoc-46.c
gcc/tree-vect-loop.cc