Add new ISD nodes: ISD::FMINNAN and ISD::FMAXNAN
[oota-llvm.git] / lib / CodeGen / TargetLoweringBase.cpp
index a6e8e43e869a0e4cce7f36eee7dfef093c2253d4..9c5a6bf6964a3dd9f399e8eeaa779acac6319ec9 100644 (file)
@@ -814,6 +814,8 @@ void TargetLoweringBase::initActions() {
     setOperationAction(ISD::CONCAT_VECTORS, VT, Expand);
     setOperationAction(ISD::FMINNUM, VT, Expand);
     setOperationAction(ISD::FMAXNUM, VT, Expand);
+    setOperationAction(ISD::FMINNAN, VT, Expand);
+    setOperationAction(ISD::FMAXNAN, VT, Expand);
     setOperationAction(ISD::FMAD, VT, Expand);
     setOperationAction(ISD::SMIN, VT, Expand);
     setOperationAction(ISD::SMAX, VT, Expand);