Eliminate redundant vec_select moves.

gcc/
        * rtlanal.c (set_noop_p): Return nonzero in case of redundant vec_select for
        overlapping register lanes.

testsuite/
        * config/gcc.dg/vect/vect-nop-move.c: New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205712 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/

	* gimple-ssa-strength-reduction.c (find_basis_for_candidate): Guard
	the get_alternative_base call with flag_expensive_optimizations.
	(alloc_cand_and_find_basis): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205713 138bc75d-0d04-0410-961f-82ee72b054a4