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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Richard Sandiford <rsand...@gcc.gnu.org>:

https://gcc.gnu.org/g:e7a7fed818d238d45b18dfd927cde93b4711052d

commit r13-1606-ge7a7fed818d238d45b18dfd927cde93b4711052d
Author: Richard Sandiford <richard.sandif...@arm.com>
Date:   Mon Jul 11 15:59:00 2022 +0100

    vect: Restore optab_vector argument [PR106250]

    In g:76c3041b856cb0 I'd removed a "C ? optab_vector : optab_mixed_sign"
    argument from a call to directly_supported_p, thinking that the argument
    only existed because of the condition (which I was removing).  But the
    difference between the scalar and vector forms matters for shifts,
    so we do still need the argument.

    gcc/
            PR tree-optimization/106250
            * tree-vect-loop.cc (vectorizable_reduction): Reinstate final
            argument to directly_supported_p.

Reply via email to