re PR tree-optimization/68552 (ICE in in expand_expr_real_2 with -O2 -ftree-vectorize)
authorJakub Jelinek <jakub@redhat.com>
Fri, 27 Nov 2015 09:01:20 +0000 (10:01 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 27 Nov 2015 09:01:20 +0000 (10:01 +0100)
commit4d95edca1212e23855e4f613b588cbc6dac89999
tree6e32a26908605a983ebe994d795e5db81468cc81
parentaec17bfe911ec61571db80eb5b0093a5b19e39e4
re PR tree-optimization/68552 (ICE in in expand_expr_real_2 with -O2 -ftree-vectorize)

PR tree-optimization/68552
* optabs.c (expand_vec_perm_1): Move vec_shr handling from here...
(expand_vec_perm): ... here.  Do it regardless of vec_perm_const_optab
or whether v0 == v1.

From-SVN: r231000
gcc/ChangeLog
gcc/optabs.c