]> git.ipfire.org Git - thirdparty/gcc.git/commit
Decide on LOOP_VINFO_USING_SELECT_VL_P after determining partial vectors
authorRichard Biener <rguenther@suse.de>
Fri, 14 Nov 2025 13:07:01 +0000 (14:07 +0100)
committerRichard Biener <rguenther@suse.de>
Sun, 16 Nov 2025 08:52:18 +0000 (09:52 +0100)
commitec1e49540f1df9917fdcd6c37c35583672ec613d
treee2e132d223b97b3dc0be5a40245ee46b7bd7326e
parentc6008611e9678991c763944ae8539aa90cad419d
Decide on LOOP_VINFO_USING_SELECT_VL_P after determining partial vectors

The following makes us decide on partial vectors first so we can
use LOOP_VINFO_USING_PARTIAL_VECTORS_P to decide on a decrementing IV
and LOOP_VINFO_USING_SELECT_VL_P as followup.

* tree-vect-loop.cc (vect_determine_partial_vectors_and_peeling):
Remove resetting of LOOP_VINFO_USING_SELECT_VL_P.
(vect_analyze_loop_2): Decide on partial vectors before
deciding on decrementing IV or .SELECT_VL usage.
gcc/tree-vect-loop.cc