Directly operate on CONST_VECTOR encoding
commit00bc18a2b9f559a0d2172c5393fe2cafa9c3b258
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jan 2018 21:39:33 +0000 (3 21:39 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jan 2018 21:39:33 +0000 (3 21:39 +0000)
tree24617e60f1700c494a8be6af770f30443951f7f7
parentbea3dcc9d5b1de69dc5b18ad8490716b924294a3
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256192 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cse.c
gcc/cselib.c
gcc/expmed.c