r252934 - in /trunk/gcc: ChangeLog tree-vect-da...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Mon Sep 18 15:42:00 GMT 2017
Author: rsandifo
Date: Mon Sep 18 15:42:08 2017
New Revision: 252934
URL: https://gcc.gnu.org/viewcvs?rev=252934&root=gcc&view=rev
Log:
Fix an SVE failure in the Fortran matmul* tests
The vectoriser was calling vect_get_smallest_scalar_type without
having proven that the type actually is a scalar. This seems to
be the intended behaviour: the ultimate test of whether the type
is interesting (and hence scalar) is whether an associated vector
type exists, but this is only tested later.
The patch simply makes the function cope gracefully with non-scalar
inputs.
2017-09-18 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
gcc/
* tree-vect-data-refs.c (vect_get_smallest_scalar_type): Cope
with types that aren't in fact scalar.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-vect-data-refs.c
More information about the Gcc-cvs
mailing list