]> git.ipfire.org Git - thirdparty/gcc.git/commit
Disallow scan-store vectorization in epilogues
authorRichard Biener <rguenther@suse.de>
Wed, 30 Jul 2025 13:05:19 +0000 (15:05 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 31 Jul 2025 06:35:37 +0000 (08:35 +0200)
commit8cae7cc099f533b2882898dc05528fcbb70ea9f2
treea90115ef9e9b462046bf2578af1004906fa042c5
parentfb59c5719c17a04ecfd58b5e566eccd6d2ac583a
Disallow scan-store vectorization in epilogues

The following disallows vectorizing epilogues containing scan-stores.
Since code generation works by walking gimple stmts it is not ready
for this when cleaning up epilogue vectorization.  I believe
scan-store vectorization needs most of the work done during SLP
discovery to reflect the data flow.

* tree-vect-stmts.cc (check_scan_store): Remove redundant
slp_node check.  Disallow epilogue vectorization.
gcc/tree-vect-stmts.cc