https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120808
--- Comment #6 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:08bdb6b4a32f1f696862db25fdcc364870b52d82 commit r16-1731-g08bdb6b4a32f1f696862db25fdcc364870b52d82 Author: Richard Biener <rguent...@suse.de> Date: Fri Jun 27 11:42:45 2025 +0200 tree-optimization/120808 - SLP patterns with FMA/FMS The following amends the SLP addsub pattern to also match blends of .FMA/.FMS and form .FMADDSUB even when -ffp-contract=off. PR tree-optimization/120808 * tree-vect-slp-patterns.cc (vect_match_expression_p): Take a code_helper and also match calls. (addsub_pattern::recognize): Handle .FMA/.FMS pairs in addition to PLUS/MINUS. (addsub_pattern::build): Adjust. * gcc.dg/vect/bb-slp-pr120808.c: Now also expect FMADDSUB patterns to be matched.