gimple-match-head.c: Include vec-perm-indices.h.
authorRichard Biener <rguenther@suse.de>
Mon, 20 May 2019 10:33:54 +0000 (10:33 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 20 May 2019 10:33:54 +0000 (10:33 +0000)
commitebd733a78ccf5792067e94852c6c81a5f9aa0020
tree1879ede8a51660683068c0a909702bb2649889bb
parentf63445e56c265757ebd50dc12fcd01773341b49f
gimple-match-head.c: Include vec-perm-indices.h.

2019-05-20  Richard Biener  <rguenther@suse.de>

* gimple-match-head.c: Include vec-perm-indices.h.
* generic-match-head.c: Likewise.
* fold-const.h (fold_vec_perm): Declare when vec-perm-indices.h
is included.
* fold-const.c (fold_vec_perm): Export.
(fold_ternary_loc): Move non-constant folding of VEC_PERM_EXPR...
(match.pd): ...here.

From-SVN: r271404
gcc/ChangeLog
gcc/fold-const.c
gcc/fold-const.h
gcc/generic-match-head.c
gcc/gimple-match-head.c
gcc/match.pd