aarch64: Fix failure in cmpimm_branch_1.c
authorRichard Sandiford <richard.sandiford@arm.com>
Sat, 25 Jan 2020 10:39:06 +0000 (10:39 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Mon, 27 Jan 2020 15:13:00 +0000 (15:13 +0000)
commite2a14becd6bdc68e1d2fbe084079f7472434488e
treed4e925314bcc327a352ce0b3e2369bb00e600b07
parent342e14ffa30e9163a1a75e0a4fb21b6883d58dbe
aarch64: Fix failure in cmpimm_branch_1.c

gcc.target/aarch64/cmpimm_branch_1.c started failing after Bernd's
fix to make combine take the costs of jumps into account
(g:391500af1932e696a007).  This is because the rtx costs
of *compare_condjump<GPI:mode> were higher than the costs
of the instructions it combines.

2020-01-27  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/aarch64/aarch64.c (aarch64_if_then_else_costs): Match
jump conditions for *compare_condjump<GPI:mode>.
gcc/ChangeLog
gcc/config/aarch64/aarch64.c