]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: Remove unnecessary casts to rtx_code [PR117349]
authorAndrew Pinski <quic_apinski@quicinc.com>
Tue, 29 Oct 2024 20:01:30 +0000 (13:01 -0700)
committerAndrew Pinski <quic_apinski@quicinc.com>
Tue, 29 Oct 2024 20:07:16 +0000 (13:07 -0700)
commit9dd9a88b75334bc079b8ab5fb2dbb5d56765bd60
tree9efe1031ecc0d0b7f721252a0665dd5163e4e61b
parent28b7aed124d4d86be552f24469c2cfa59a49edaf
aarch64: Remove unnecessary casts to rtx_code [PR117349]

In aarch64_gen_ccmp_first/aarch64_gen_ccmp_next, the casts
were no longer needed after r14-3412-gbf64392d66f291 which
changed the type of the arguments to rtx_code.

In aarch64_rtx_costs, they were no longer needed since
r12-4828-g1d5c43db79b7ea which changed the type of code
to rtx_code.

Pushed as obvious after a build/test for aarch64-linux-gnu.

gcc/ChangeLog:

PR target/117349
* config/aarch64/aarch64.cc (aarch64_rtx_costs): Remove
unnecessary casts to rtx_code.
(aarch64_gen_ccmp_first): Likewise.
(aarch64_gen_ccmp_next): Likewise.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/config/aarch64/aarch64.cc