[clang] [llvm] Intrinsic: introduce minimumnum and maximumnum (PR #93841)

Joshua Cranmer via llvm-commits llvm-commits at lists.llvm.org
Fri May 31 10:43:42 PDT 2024


================
@@ -9130,6 +9142,15 @@ void SelectionDAGBuilder::visitCall(const CallInst &I) {
         if (visitBinaryFloatCall(I, ISD::FMAXNUM))
           return;
         break;
+      case LibFunc_fminimum_num:
+      case LibFunc_fminimum_numf:
+        if (visitBinaryFloatCall(I, ISD::FMINIMUMNUM))
+          return;
+        break;
+      case LibFunc_fmaximum_num:
----------------
jcranmer-intel wrote:

Methinks there's quite a few missing case statements here.

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


More information about the llvm-commits mailing list