From c1aa638fff4d253286c601ae9fdf9e98d4bb1a3d Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 25 Nov 2012 00:48:58 +0000 Subject: [PATCH] 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 --- lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1