r252933 - in /trunk/gcc: ChangeLog testsuite/Ch...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Mon Sep 18 15:39:00 GMT 2017
Author: rsandifo
Date: Mon Sep 18 15:39:21 2017
New Revision: 252933
URL: https://gcc.gnu.org/viewcvs?rev=252933&root=gcc&view=rev
Log:
Include phis in SLP unrolling calculation
Without this we'd pick an unrolling factor based purely on longs,
ignoring the ints. It's posssible that vect_get_smallest_scalar_type
should also handle shifts, but I think we'd still want this as a
belt-and-braces fix.
2017-09-18 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
* tree-vect-slp.c (vect_record_max_nunits): New function,
split out from...
(vect_build_slp_tree_1): ...here.
(vect_build_slp_tree_2): Call it for phis too.
gcc/testsuite/
* gcc.dg/vect/slp-multitypes-13.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/vect/slp-multitypes-13.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-slp.c
More information about the Gcc-cvs
mailing list