rdar://12100355 (part 1)
[oota-llvm.git] / lib / Transforms / Scalar / IndVarSimplify.cpp
index 82eb7464677262eecd6a736047afb69251cf03d9..310fd6147aa9acdb98752964e461b65abc967775 100644 (file)
@@ -220,8 +220,6 @@ static Instruction *getInsertPointForUses(Instruction *User, Value *Def,
 /// ConvertToSInt - Convert APF to an integer, if possible.
 static bool ConvertToSInt(const APFloat &APF, int64_t &IntVal) {
   bool isExact = false;
-  if (&APF.getSemantics() == &APFloat::PPCDoubleDouble)
-    return false;
   // See if we can convert this to an int64_t
   uint64_t UIntVal;
   if (APF.convertToInteger(&UIntVal, 64, true, APFloat::rmTowardZero,