Directly operate on CONST_VECTOR encoding
authorRichard Sandiford <richard.sandiford@linaro.org>
Wed, 3 Jan 2018 21:39:33 +0000 (21:39 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 3 Jan 2018 21:39:33 +0000 (21:39 +0000)
commit16c78b665aa4ce64af71b6ac7ebaa96c9807be4c
tree24617e60f1700c494a8be6af770f30443951f7f7
parent4bfb8e1143f4626e12df348a1bde34030c0fb2e7
Directly operate on CONST_VECTOR encoding

This patch makes some pieces of code operate directly on the new
CONST_VECTOR encoding.

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

gcc/
* cse.c (hash_rtx_cb): Hash only the encoded elements.
* cselib.c (cselib_hash_rtx): Likewise.
* expmed.c (make_tree): Build VECTOR_CSTs directly from the
CONST_VECTOR encoding.

From-SVN: r256192
gcc/ChangeLog
gcc/cse.c
gcc/cselib.c
gcc/expmed.c