https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104045
Bug ID: 104045 Summary: [AArch64] combine related to insn fmaxnm Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zhongyunde at huawei dot com Target Milestone: --- test case, see detail https://gcc.godbolt.org/z/95osxxjx5 float foo(float a) { float x = 1.0f; float y = 0.0f; float z = x / y; return fmax (a, z); } as the z is Inf, so above fmax need be combined as clang ?