https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117352
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- But note not all targets support all comparisons with ccmp (though I think for integer both x86_64 and aarch64 supports all, it is float comparisons where TARGET_GEN_CCMP_FIRST/TARGET_GEN_CCMP_NEXT can fail). So you might need to try to generate the ccmp or change/add a target hook to see if the comparison would work or not.