Use CONST_VECTOR_ELT instead of XVECEXP
commit96fce54f18bbc91af97c2b8ce63bde1fbe96644b
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jan 2018 18:27:42 +0000 (2 18:27 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jan 2018 18:27:42 +0000 (2 18:27 +0000)
tree3299caf73828512dc8badce866408996c43c80bd
parent0c1a6f5685cc0cbf6bf1a28f6ad4ac6c488cc63b
Use CONST_VECTOR_ELT instead of XVECEXP

This patch replaces target-independent uses of XVECEXP with uses
of CONST_VECTOR_ELT.  This kind of replacement isn't necessary
for code specific to targets other than AArch64.

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

gcc/
* simplify-rtx.c (simplify_const_binary_operation): Use
CONST_VECTOR_ELT instead of XVECEXP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256101 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/simplify-rtx.c