Use CONST_VECTOR_ELT instead of XVECEXP
authorRichard Sandiford <richard.sandiford@linaro.org>
Tue, 2 Jan 2018 18:27:42 +0000 (18:27 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 2 Jan 2018 18:27:42 +0000 (18:27 +0000)
commit8eff75e0d2a3495c5bc182324644a080d47205ac
tree3299caf73828512dc8badce866408996c43c80bd
parentb00cb3bfa50c5477347082a9450b4a63e4fee263
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.

From-SVN: r256101
gcc/ChangeLog
gcc/simplify-rtx.c