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
This commit is contained in:
Craig Topper 2012-11-25 00:48:58 +00:00
parent 915562e762
commit c1aa638fff

View 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