[AArch64] Pass a pattern to aarch64_output_sve_cnt_immediate
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 15 Aug 2019 08:52:28 +0000 (08:52 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 15 Aug 2019 08:52:28 +0000 (08:52 +0000)
commit139df05a29eb71075e42f502978dea4d00a99708
tree12ce3c297cdf3f4b4cb65df669ed1e4c70689c5f
parent7d8bdfa7e409821c50f6d8a7b557bd7dc760c4ce
[AArch64] Pass a pattern to aarch64_output_sve_cnt_immediate

This patch makes us always pass an explicit vector pattern to
aarch64_output_sve_cnt_immediate, rather than assuming it's ALL.
The ACLE patches need to be able to pass in other values.

2019-08-15  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/aarch64/aarch64.c (aarch64_output_sve_cnt_immediate): Take
the vector pattern as an aarch64_svpattern argument.  Update the
overloaded caller accordingly.
(aarch64_output_sve_scalar_inc_dec): Update call accordingly.
(aarch64_output_sve_vector_inc_dec): Likewise.

From-SVN: r274520
gcc/ChangeLog
gcc/config/aarch64/aarch64.c