IRA: Revert 11b8091fb to fix PR 93221
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Wed, 29 Jan 2020 14:23:22 +0000 (14:23 +0000)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Wed, 29 Jan 2020 14:25:55 +0000 (14:25 +0000)
commitbcf3fa7cf5a3d024b507f68ffdfab037f4820781
treee92cd8b81a79f2c5f85d526e9d970b9ea862089f
parentf214ffb336d582a66149068a2a96b7fcf395b5de
IRA: Revert 11b8091fb to fix PR 93221

A previous change to simplify LRA introduced in 11b809 (From-SVN: r279550)
disabled hard register splitting for -O0. This causes a problem on aarch64 in
cases where parameters are passed in multiple registers (in the bug report an OI
passed in 2 V4SI registers). This is mandated by the AAPCS.

gcc/ChangeLog:
2020-01-29  Joel Hutton  <Joel.Hutton@arm.com>

PR target/93221
* ira.c (ira): Revert use of simplified LRA algorithm.

gcc/testsuite/ChangeLog:
2020-01-29  Joel Hutton  <Joel.Hutton@arm.com>

PR target/93221
* gcc.target/aarch64/pr93221.c: New test.
gcc/ChangeLog
gcc/ira.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr92429.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/pr93221.c [new file with mode: 0644]