optabs: Fix vec_perm -> V16QI middle end lowering.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Tue, 19 May 2015 14:51:47 +0000 (14:51 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Tue, 19 May 2015 14:51:47 +0000 (14:51 +0000)
commita2780ddb46556eac870f843df4dca394a48844bb
tree8f9016957b046d14ea2fa168b38119c22cd95089
parent057021105092a95a712e4237959025683bee7d42
optabs: Fix vec_perm -> V16QI middle end lowering.

The current implementation re-uses the location of the selection
pattern to generate a new one.  This fails if the pattern resides in a
read-only location.

gcc/
* optabs.c (expand_vec_perm): Don't re-use SEL as target operand.

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