diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2018-01-02 18:28:06 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2018-01-02 18:28:06 +0000 |
commit | 3d8ca53dd9b4c42b07ef974f92c3c4553cce3a79 (patch) | |
tree | a24895a3e9e27d5d1711474f8246f92559d37b64 /COPYING | |
parent | 3877c560656f4961cc50952c3bba3c40812c36c3 (diff) | |
download | gcc-3d8ca53dd9b4c42b07ef974f92c3c4553cce3a79.zip gcc-3d8ca53dd9b4c42b07ef974f92c3c4553cce3a79.tar.gz gcc-3d8ca53dd9b4c42b07ef974f92c3c4553cce3a79.tar.bz2 |
Make more use of rtx_vector_builder
This patch makes various bits of CONST_VECTOR-building code use
rtx_vector_builder, operating directly on a specific encoding.
2018-01-02 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
* expr.c: Include rtx-vector-builder.h.
(const_vector_mask_from_tree): Use rtx_vector_builder and operate
directly on the tree encoding.
(const_vector_from_tree): Likewise.
* optabs.c: Include rtx-vector-builder.h.
(expand_vec_perm_var): Use rtx_vector_builder and create a repeating
sequence of "u" values.
* vec-perm-indices.c: Include rtx-vector-builder.h.
(vec_perm_indices_to_rtx): Use rtx_vector_builder and operate
directly on the vec_perm_indices encoding.
From-SVN: r256103
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions