[PATCH PR85793]Fix ICE by loading vector(1) scalara_type for 1 element-wise case

Bin Cheng Bin.Cheng@arm.com
Wed May 16 15:15:00 GMT 2018


Hi,
This patch fixes ICE by loading vector(1) scalar_type if it's 1 element-wise for VMAT_ELEMENTWISE.
Bootstrap and test on x86_64 and AArch64 ongoing.  Is it OK?

Thanks,
bin
2018-05-16  Bin Cheng  <bin.cheng@arm.com>
	    Richard Biener  <rguenther@suse.de>

	PR tree-optimization/85793
	* tree-vect-stmts.c (vectorizable_load): Handle 1 element-wise load
	for VMAT_ELEMENTWISE.

gcc/testsuite
2018-05-16  Bin Cheng  <bin.cheng@arm.com>

	PR tree-optimization/85793
	* gcc.dg/vect/pr85793.c: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pr85793-20180515.patch
Type: text/x-patch
Size: 1365 bytes
Desc: 0001-pr85793-20180515.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180516/f0d88d6f/attachment.bin>


More information about the Gcc-patches mailing list