This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r269308 - in /trunk/gcc: ChangeLog testsuite/Ch...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 01 Mar 2019 13:05:41 -0000
- Subject: r269308 - in /trunk/gcc: ChangeLog testsuite/Ch...
Author: rsandifo
Date: Fri Mar 1 13:05:40 2019
New Revision: 269308
URL: https://gcc.gnu.org/viewcvs?rev=269308&root=gcc&view=rev
Log:
Fix mask type choice in vectorizable_call (PR 89535)
This is another case in which we were failing to pass the expected
mask vector type to vect_get_vec_def_for_operand.
2019-02-28 Richard Sandiford <richard.sandiford@arm.com>
gcc/
PR tree-optimization/89535
* tree-vect-stmts.c (vectorizable_call): Record the vector types
for each operand. Calculate the fallback choice for mask operands
and pass it to vect_get_vec_def_for_operand.
gcc/testsuite/
PR tree-optimization/89535
* gfortran.dg/vect/pr89535.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/vect/pr89535.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-stmts.c