]> 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>
Fri, 3 May 2024 12:50:18 +0000 (14:50 +0200)
commit704b15e277a8792ac4cd6008ee08bec4b047a3e6
tree43e63a355bb7e9a2ffca64d1125684ff231cdd32
parent0624852a3ea684f6b9dabea864bcb45e31304728
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.

(cherry picked from commit bf2b5231312e1cea45732cb8df6ffa2b2c9115b6)
gcc/tree-vect-loop.cc