aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-11-25 00:48:58 +0000
committerCraig Topper <craig.topper@gmail.com>2012-11-25 00:48:58 +0000
commit268b62288e703e8a7c03a8c417c5115f9bdafcd3 (patch)
treec99ab4600c1cb1f6cafe88e51c24ee77b9edb11d /llvm/lib/CodeGen
parent8571944cf1fba5f379445082511736fee9d7776e (diff)
downloadllvm-268b62288e703e8a7c03a8c417c5115f9bdafcd3.zip
llvm-268b62288e703e8a7c03a8c417c5115f9bdafcd3.tar.gz
llvm-268b62288e703e8a7c03a8c417c5115f9bdafcd3.tar.bz2
Remove duplicate check of LimitFloatPrecision. It was already checked earlier before IsExp10 could be set to true.
llvm-svn: 168553
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 6a1b5dd..9a6fcab 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/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