[PATCH Obvious]Check gimple seq before inserting it.

Bin Cheng Bin.Cheng@arm.com
Mon Jun 13 09:55:00 GMT 2016

This is an obvious change which checks if gimple seq is empty before inserting it.  I built spec2k6 and found the gimple seq in most (if not all) cases is empty, we can save a function call here.

Build on x86_64.


2016-05-17 Bin Cheng  <bin.cheng@arm.com>

	* tree-vect-loop.c (vect_create_epilog_for_reduction): Only
	insert gimple seq if it's not empty.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: check-seq-before-insert.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160613/37da8ba0/attachment.txt>

More information about the Gcc-patches mailing list