diff options
author | Andre Simoes Dias Vieira <andre.simoesdiasvieira@arm.com> | 2024-11-08 13:34:57 +0000 |
---|---|---|
committer | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2024-11-08 13:35:57 +0000 |
commit | 1e8396464cb990d554c932cd959742b86660a25a (patch) | |
tree | d91ee878de5b8b2fff6323fab50fb564e2702542 /gcc/function.cc | |
parent | 5ff9e21c1ec81f8288e74679547e56051e051975 (diff) | |
download | gcc-1e8396464cb990d554c932cd959742b86660a25a.zip gcc-1e8396464cb990d554c932cd959742b86660a25a.tar.gz gcc-1e8396464cb990d554c932cd959742b86660a25a.tar.bz2 |
arm: Improvements to arm_noce_conversion_profitable_p call [PR 116444]
When not dealing with the special armv8.1-m.main conditional instructions case
make sure it uses the default_noce_conversion_profitable_p call to determine
whether the sequence is cost effective.
Also make sure arm_noce_conversion_profitable_p accepts vsel<cond> patterns for
Armv8.1-M Mainline targets.
gcc/ChangeLog:
PR target/116444
* config/arm/arm.cc (arm_noce_conversion_profitable_p): Call
default_noce_conversion_profitable_p when not dealing with the
armv8.1-m.main special case.
(arm_is_vsel_fp_insn): New function.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions