[AArch64] Add -fno-vect-cost-model to sve2/whilerw_1.c
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 21 Nov 2019 12:03:54 +0000 (12:03 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 21 Nov 2019 12:03:54 +0000 (12:03 +0000)
commite2a05fdfd4798192493c582ec6528c975bfa9b0c
tree1686cd4262178447008d9bc54e83117e9eee2e8d
parent01a0fba62602d008fe838aafa0ee5b1b35369e06
[AArch64] Add -fno-vect-cost-model to sve2/whilerw_1.c

Bumping the cost of vec_to_scalar made the .s loop in
gcc.target/aarch64/sve2/whilerw_1.c use a runtime profitability check,
like the .d version already did.  Since the cost model isn't really
being tested here, the most robust fix seemed to be to disable it,
which I should really have done from the outset.

2019-11-21  Richard Sandiford  <richard.sandiford@arm.com>

gcc/testsuite/
* gcc.target/aarch64/sve2/whilerw_1.c: Add -fno-vect-cost-model.
Require x0 in the .d test too.

From-SVN: r278549
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/sve2/whilerw_1.c