From: Craig Topper Date: Sun, 25 Nov 2012 00:48:58 +0000 (+0000) Subject: Remove duplicate check of LimitFloatPrecision. It was already checked earlier before... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c1aa638fff4d253286c601ae9fdf9e98d4bb1a3d;p=oota-llvm.git Remove duplicate check of LimitFloatPrecision. It was already checked earlier before IsExp10 could be set to true. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168553 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 6a1b5dd2e7f..9a6fcab6ca7 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -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