[clang] [Legalizer] Expand fmaximum and fminimum (PR #67301)

Jay Foad via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 10 00:58:27 PDT 2023


================
@@ -8177,6 +8177,64 @@ SDValue TargetLowering::expandFMINNUM_FMAXNUM(SDNode *Node,
   return SDValue();
 }
 
+SDValue TargetLowering::expandFMINIMUM_FMAXIMUM(SDNode *N,
----------------
jayfoad wrote:

> Can MIR be valid input for legalizers?

No, sorry, please ignore that part. I was thinking about GlobalISel not SelectionDAG.

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


More information about the cfe-commits mailing list