https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94665
--- Comment #13 from z.zhanghaijian at huawei dot com <z.zhanghaijian at huawei dot com> --- When change to flag_finite_math_only, this fmaxnm can also be generated with the patch above(swap the true_rtx/false_rtx).