https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117875
--- Comment #20 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:7b64f757a8df8efd989000baa667279f8957442e commit r15-7063-g7b64f757a8df8efd989000baa667279f8957442e Author: Richard Biener <rguent...@suse.de> Date: Mon Jan 20 14:25:31 2025 +0100 tree-optimization/117875 - missed SLP vectorization There's a discrepancy in SLP vs non-SLP vectorization that SLP build does not handle plain SSA copies (which should have been elimiated earlier). But this now bites back since non-SLP happily handles them, causing a regression with --param vect-force-slp=1 which is now default, resulting in a big performance regression in 456.hmmer. So the following restores parity between SLP and non-SLP here, defering the missed copy elimination to later (PR118565). PR tree-optimization/117875 * tree-vect-slp.cc (vect_build_slp_tree_1): Handle SSA copies.