https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111128

--- Comment #3 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:7b67cab154d4b5ec2a6bb62755da31cefbe63536

commit r14-3437-g7b67cab154d4b5ec2a6bb62755da31cefbe63536
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Aug 24 10:00:20 2023 +0200

    tree-optimization/111128 - fix shift pattern recog

    The following fixes placement of shift operand sanitization with
    MIN when the original shift operand was external but the actual
    one is not.

            PR tree-optimization/111128
            * tree-vect-patterns.cc (vect_recog_over_widening_pattern):
            Emit external shift operand inline if we promoted it with
            another pattern stmt.

            * gcc.dg/torture/pr111128.c: New testcase.

Reply via email to