]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/114749 - reset partial vector decision for no-SLP retry
authorRichard Biener <rguenther@suse.de>
Wed, 17 Apr 2024 08:40:04 +0000 (10:40 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 17 Apr 2024 09:29:56 +0000 (11:29 +0200)
commitbf2b5231312e1cea45732cb8df6ffa2b2c9115b6
tree8d18047885a152011cadf69d6526ae095a7c1599
parent420ece6b2334bcbbd9da905866f2ca77d4b5fdae
tree-optimization/114749 - reset partial vector decision for no-SLP retry

The following makes sure to reset LOOP_VINFO_USING_PARTIAL_VECTORS_P
to its default of false when re-trying without SLP as otherwise
analysis may run into bogus asserts.

PR tree-optimization/114749
* tree-vect-loop.cc (vect_analyze_loop_2): Reset
LOOP_VINFO_USING_PARTIAL_VECTORS_P when re-trying without SLP.
gcc/tree-vect-loop.cc