]> git.ipfire.org Git - thirdparty/gcc.git/commit
Relax COND_EXPR reduction vectorization SLP restriction
authorRichard Biener <rguenther@suse.de>
Fri, 23 Feb 2024 15:16:38 +0000 (16:16 +0100)
committerRichard Biener <rguenther@suse.de>
Thu, 6 Jun 2024 06:55:56 +0000 (08:55 +0200)
commit28edeb1409a7b839407ec06031899b933390bff3
tree983b327dcdee47eda60c58fdbd46279df261a184
parent6a6bab4ba36c5d190b3151055e683e7067be92c1
Relax COND_EXPR reduction vectorization SLP restriction

Allow one-lane SLP but for the case where we need to swap the arms.

* tree-vect-stmts.cc (vectorizable_condition): Allow
single-lane SLP, but not when we need to swap then and
else clause.
gcc/tree-vect-stmts.cc