]> git.ipfire.org Git - thirdparty/gcc.git/commit
Prune non-SLP paths from vectorizer loop analysis
authorRichard Biener <rguenther@suse.de>
Thu, 30 Jan 2025 14:03:04 +0000 (15:03 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 28 Apr 2025 09:22:35 +0000 (11:22 +0200)
commitcfeee375eccfa6c7265f166b5ce70eb65b153e4c
treea0dab23ecf7cdec57684234252a357040026545b
parentda012141c28a71a9a5efd4acc53dd14066045643
Prune non-SLP paths from vectorizer loop analysis

The following prunes non-SLP iteration and the parts of non-SLP
stmt analysis that is no longer necessary - we need to keep the
parts that bail on stmts not covered by SLP discovery or that
failed SLP discovery.  This will only go away when a we can build
a fully covering single-lane SLP graph to fall back to.

* tree-vect-loop.cc (vect_analyze_loop_operations): Prune
all actual analysis and only fail when we discover a not
SLP covered stmt.
(vect_analyze_loop_2): Remove path trying without SLP.
gcc/tree-vect-loop.cc