PR83675: Restore TARGET_VIS2 check for SPARC vec_perm_const
authorRichard Sandiford <richard.sandiford@linaro.org>
Thu, 4 Jan 2018 09:51:08 +0000 (09:51 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 4 Jan 2018 09:51:08 +0000 (09:51 +0000)
commitda374b5b5bb998311935ef989ed41fed1c16366e
tree1d94afc30568cec72f14b65c4b2bae1ff5bc5715
parent02ea1c7689351ad76d17e423dbc4e91badb921ca
PR83675: Restore TARGET_VIS2 check for SPARC vec_perm_const

I'd missed a TARGET_VIS2 condition when replacing vec_perm_const_optab
with TARGET_VECTORIZE_VEC_PERM_CONST in r256093.

2018-01-04  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
PR target/83675
* config/sparc/sparc.c (sparc_vectorize_vec_perm_const): Require
TARGET_VIS2.

From-SVN: r256229
gcc/ChangeLog
gcc/config/sparc/sparc.c