[llvm] Intrinsic: introduce minimumnum and maximumnum for IR and SelectionDAG (PR #96649)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 01:54:30 PDT 2024


================
@@ -3650,6 +3650,12 @@ bool SelectionDAGLegalize::ExpandNode(SDNode *Node) {
       Results.push_back(Expanded);
     break;
   }
+  case ISD::FMINIMUMNUM:
+  case ISD::FMAXIMUMNUM: {
+    if (SDValue Expanded = TLI.expandFMINIMUMNUM_FMAXIMUMNUM(Node, DAG))
----------------
arsenm wrote:

Remove the check, it should always succeed 

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


More information about the llvm-commits mailing list