instead of lying and saying we have it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25775
91177308-0d34-0410-b5e6-
96231b3b80d8
} else {
// Set up the FP register classes.
addRegisterClass(MVT::f64, X86::RFPRegisterClass);
-
+
+ setOperationAction(ISD::UNDEF, MVT::f64, Expand);
+
if (!X86PatIsel) {
setOperationAction(ISD::SINT_TO_FP, MVT::i16, Custom);
setOperationAction(ISD::SINT_TO_FP, MVT::i32, Custom);
def : Pat<(f64 fp64immneg0), (FpCHS (FpLD0))>, Requires<[FPStack]>;
def : Pat<(f64 fp64immneg1), (FpCHS (FpLD1))>, Requires<[FPStack]>;
-// RFP undef
-def : Pat<(f64 (undef)), (FpLD0)>, Requires<[FPStack]>;
-
-
//===----------------------------------------------------------------------===//
// Some peepholes
//===----------------------------------------------------------------------===//