OSDN Git Service

[CodeGen] Promote FMINNAN/FMAXNAN like other binops.
[android-x86/external-llvm.git] / lib / CodeGen / SelectionDAG / LegalizeFloatTypes.cpp
index 6c0193a..309402e 100644 (file)
@@ -1868,6 +1868,8 @@ void DAGTypeLegalizer::PromoteFloatResult(SDNode *N, unsigned ResNo) {
     // Binary FP Operations
     case ISD::FADD:
     case ISD::FDIV:
+    case ISD::FMAXNAN:
+    case ISD::FMINNAN:
     case ISD::FMAXNUM:
     case ISD::FMINNUM:
     case ISD::FMUL: