Remove duplicate check of LimitFloatPrecision. It was already checked earlier before...
authorCraig Topper <craig.topper@gmail.com>
Sun, 25 Nov 2012 00:48:58 +0000 (00:48 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 25 Nov 2012 00:48:58 +0000 (00:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168553 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

index 6a1b5dd2e7f7b52c63441b95899c2686765f2590..9a6fcab6ca72774a9516fca82743cdcdc65cd0b5 100644 (file)
@@ -4184,7 +4184,7 @@ SelectionDAGBuilder::visitPow(const CallInst &I) {
     }
   }
 
-  if (IsExp10 && LimitFloatPrecision > 0 && LimitFloatPrecision <= 18) {
+  if (IsExp10) {
     SDValue Op = getValue(I.getArgOperand(1));
 
     // Put the exponent in the right bit position for later addition to the