https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117277
--- Comment #3 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:482d5a7b1a4abdd95f42033ad3b8d1276b8fb20a commit r15-4663-g482d5a7b1a4abdd95f42033ad3b8d1276b8fb20a Author: Richard Biener <rguent...@suse.de> Date: Thu Oct 24 16:15:43 2024 +0200 tree-optimization/117277 - remove CLOBBERs before SLP code generation We have to remove CLOBBERs before SLP is code generated since for store-lanes we are inserting our own CLOBBERs that we want to survive. So the following refactors vect_transform_loop to remove unwanted stmts first. This resolves the gcc.target/aarch64/sve/store_lane_spill_1.c FAIL. PR tree-optimization/117277 * tree-vect-loop.cc (vect_transform_loop): Remove CLOBBERs and prefetches before doing any code generation.