Thanks for the response.
I am aware of its documentation for G_FMINMUM_IEEE, but
- since there is no llvm intrinsic for this(but present for the other min/max GMIR opcodes) and
- also IIUC, its quite similar to minimumNumber in IEEE-754:2019 except when input is sNaN
hence the question.
While exploring the uses of G_FMINNUM_IEEE(in upstream code), I could not find any instance where this GMIR opcode was directly used (except, like it was used while lowering G_FMINNUM) -
it seems that there is some proprietary code which is using it i.e some backend, which would like to handle sNaN (and propagate it as qNaN) ?
We actually could use more variants of these opcodes with the full range of signed zero and signaling nan behaviors.
I came across a similar comment by you (which was more than a year back).
May be its worth to rework/add the GMIR opcodes/intrinsics. (Will need to check, if there have been already efforts in this, but yeah, would be happy to contribute to the effort).