Hi, The AArch64 vector initialization sequence can be optimized to generate better code. The attached patch handles for the case where the vector contains only variables. It checks for the common elements in the vector and inserts the values in optimized way. Bootstrapped and Regression tested on aarch64-thunder-linux. Please review the patch and let us know if its okay? 2016-12-09 Andrew PInski gcc * config/aarch64/aarch64.c (aarch64_expand_vector_init): Improve vector initialization code gen.