Add minnum / maxnum codegen
[oota-llvm.git] / lib / Target / X86 / X86ISelLowering.cpp
index 543a2fdc99f0a75ea35345565563cb817a156437..73cbd563f5a99aa046a2d1cd03c6de490ef1a3be 100644 (file)
@@ -811,6 +811,8 @@ void X86TargetLowering::resetOperationActions() {
   setOperationAction(ISD::FLOG10, MVT::f80, Expand);
   setOperationAction(ISD::FEXP, MVT::f80, Expand);
   setOperationAction(ISD::FEXP2, MVT::f80, Expand);
+  setOperationAction(ISD::FMINNUM, MVT::f80, Expand);
+  setOperationAction(ISD::FMAXNUM, MVT::f80, Expand);
 
   // First set operation action for all vector types to either promote
   // (for widening) or expand (for scalarization). Then we will selectively