[PATCH 14/14][Vectorizer] Tidy up vect_create_epilog / use_scalar_result

Alan Lawrence alan.lawrence@arm.com
Thu Sep 18 12:48:00 GMT 2014


Following earlier patches, vect_create_epilog_for_reduction contains exactly one 
case where extract_scalar_result==true. Hence, move the code 'if 
(extract_scalar_result)' there, and tidy-up/remove some variables.

bootstrapped on x86_64-none-linux-gnu + check-gcc + check-g++.

gcc/ChangeLog:

	* tree-vect-loop.c (vect_create_epilog_for_reduction): Move code for
	'if (extract_scalar_result)' to the only place that it is true.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14_tidy_vect_create_epilog.patch
Type: text/x-patch
Size: 2735 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140918/f58d913a/attachment.bin>


More information about the Gcc-patches mailing list