https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92335
--- Comment #8 from CVS 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:399c8dd44ff44f4b496223c7cc980651c4d6f6a0 commit r14-2927-g399c8dd44ff44f4b496223c7cc980651c4d6f6a0 Author: Richard Biener <rguent...@suse.de> Date: Thu Jul 27 15:34:12 2023 +0200 tree-optimization/92335 - Improve sinking heuristics for vectorization The following delays sinking of loads within the same innermost loop when it was unconditional before. That's a not uncommon issue preventing vectorization when masked loads are not available. PR tree-optimization/92335 * tree-ssa-sink.cc (select_best_block): Before loop optimizations avoid sinking unconditional loads/stores in innermost loops to conditional executed places. * gcc.dg/tree-ssa/ssa-sink-10.c: Disable vectorizing. * gcc.dg/tree-ssa/predcom-9.c: Clone from ssa-sink-10.c, expect predictive commoning to happen instead of sinking. * gcc.dg/vect/pr65947-3.c: Ajdust.