LLVM canonicalizes a check for whether a number is NaN or not to fcmp ord %in, zeroinitializer. An ord check normally needs to be lowered to two separate comparisons on AArch64 but in this case it's equivalent to fcmp oeq %in, %in which we have a single fcmeq instruction for.
Details
Details
Diff Detail
Diff Detail