https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120230
Bug ID: 120230
Summary: cmov_optab is not used for expansion
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: internal-improvement
Severity: enhancement
Priority: P3
Component: middle-end
Assignee: pinskia at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Only aarch64 backend defines the name.
But the only place which uses cmov_optab is can_compare_p with
can_compare_purpose==ccp_cmov.
And nobody passes ccp_cmov to can_compare_p .
So all of this can be removed.
cmov_optab being unused was mentioned in PR 54240 where phiopt accidently used
cmov_optab rather than movcc_optab.