[llvm] TargetLowering: Allow FMINNUM/FMAXNUM to lower to FMINIMUM/FMAXIMUM even without `nsz` (PR #177828)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 25 03:18:16 PST 2026


================
@@ -8811,12 +8811,9 @@ SDValue TargetLowering::expandFMINNUM_FMAXNUM(SDNode *Node,
   // If the target has FMINIMUM/FMAXIMUM but not FMINNUM/FMAXNUM use that
   // instead if there are no NaNs and there can't be an incompatible zero
   // compare: at least one operand isn't +/-0, or there are no signed-zeros.
----------------
arsenm wrote:

Should update the comment mentioning no signed zeros 

https://github.com/llvm/llvm-project/pull/177828


More information about the llvm-commits mailing list