diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-11-25 00:48:58 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-11-25 00:48:58 +0000 |
commit | c1aa638fff4d253286c601ae9fdf9e98d4bb1a3d (patch) | |
tree | 1fc7ce382257311eaa2bfee284f0f9ae0c933a83 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 915562e7620ef8a307c20df95bfb07f8514cf413 (diff) | |
download | external_llvm-c1aa638fff4d253286c601ae9fdf9e98d4bb1a3d.zip external_llvm-c1aa638fff4d253286c601ae9fdf9e98d4bb1a3d.tar.gz external_llvm-c1aa638fff4d253286c601ae9fdf9e98d4bb1a3d.tar.bz2 |
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 6a1b5dd..9a6fcab 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 |