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

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

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

commit r11-5088-gfcd513df9aa83f30dbd1c34d13c8a0972702ffa1
Author: Richard Sandiford <richard.sandif...@arm.com>
Date:   Tue Nov 17 11:51:40 2020 +0000

    PR97693: Specify required vectype in vectorizable_call

    The vectorizable_call part of r11-1143 dropped the required
    vectype when moving from vect_get_vec_def_for_operand to
    vect_get_vec_defs_for_operand.  This caused an ICE on the
    testcase for SVE, because we ended up with a non-predicate
    value being passed to a predicate input.

    AFAICT this was the only instance of that happening.  The types
    seemed to get carried forward for all the other converted calls.

    gcc/
            PR tree-optimization/97693
            * tree-vect-stmts.c (vectorizable_call): Pass the required vectype
            to vect_get_vec_defs_for_operand.

    gcc/testsuite/
            PR tree-optimization/97693
            * gcc.dg/vect/pr97693.c: New test.
  • [Bug tree-optimization/97693] [... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to