optabs.c (expand_vec_perm): Revert one incorrect line from 2013-10-31 change.

* optabs.c (expand_vec_perm): Revert one incorrect line from
	2013-10-31 change.

From-SVN: r204359
This commit is contained in:
Jakub Jelinek 2013-11-04 21:23:29 +01:00 committed by Jakub Jelinek
parent 8019105d7c
commit b96d19ffd0
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2013-11-04 Jakub Jelinek <jakub@redhat.com>
* optabs.c (expand_vec_perm): Revert one incorrect line from
2013-10-31 change.
PR tree-optimization/58978
* tree-vrp.c (all_imm_uses_in_stmt_or_feed_cond): Don't modify
use_stmt by single_imm_use directly. Only call single_imm_use

View File

@ -6674,7 +6674,7 @@ expand_vec_perm (enum machine_mode mode, rtx v0, rtx v1, rtx sel, rtx target)
}
tmp = gen_rtx_CONST_VECTOR (qimode, vec);
sel = gen_lowpart (qimode, sel);
sel = expand_vec_perm (qimode, gen_reg_rtx (qimode), sel, tmp, NULL);
sel = expand_vec_perm (qimode, sel, sel, tmp, NULL);
gcc_assert (sel != NULL);
/* Add the byte offset to each byte element. */