https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108752
--- Comment #6 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:9d5034aad9868bed45472ef5bfac22dd9ac0e0cb commit r14-1136-g9d5034aad9868bed45472ef5bfac22dd9ac0e0cb Author: Richard Biener <rguent...@suse.de> Date: Tue May 23 15:58:52 2023 +0200 Generic vector op costing adjustment This is a small adjustment to the work done for PR108752 and better reflects the cost of the generated sequence. PR tree-optimization/108752 * tree-vect-stmts.cc (vectorizable_operation): For bit operations with generic word_mode vectors do not cost an extra stmt. For plus, minus and negate also cost the constant materialization.