https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129015
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:4eca40b54dd7763d571755cb13a91550f3bb56c5 commit r17-6688-g4eca40b54dd7763d571755cb13a91550f3bb56c5 Author: Richard Biener <[email protected]> Date: Wed Nov 25 11:12:46 2026 +0100 tree-optimization/129015 - constrain even/odd widen mult use more The following properly costrains the even/odd widen multiplication use to not apply to conditional reductions or reductions with a masked operation or fold-left reductions as those may not use lane-swizzling reduction operations. PR tree-optimization/129015 * tree-vect-stmts.cc (vectorizable_conversion): Only allow actual not in-order tree code reductions for even/odd widening multiplication. * gcc.dg/vect/vect-pr129015-1.c: New testcase. * gcc.dg/vect/vect-pr129015-2.c: Likewise.
