summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-05 19:05:15 +0000
committerChris Lattner <sabre@nondot.org>2004-04-05 19:05:15 +0000
commitd4f78f270bc686795c48b8925cea7ffa0341283f (patch)
tree1f9604958a59db730954b0ce2beaaab495a6f396 /llvm/lib/Analysis
parent5ebc25c818582c90b731107b1982cde465065041 (diff)
downloadbcm5719-llvm-d4f78f270bc686795c48b8925cea7ffa0341283f.tar.gz
bcm5719-llvm-d4f78f270bc686795c48b8925cea7ffa0341283f.zip
Sparc don't got not "sqrtl", bum bum bum
llvm-svn: 12670
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index f54dce7ca2e..77f4b1c6066 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -2042,7 +2042,7 @@ SolveQuadraticEquation(const SCEVAddRecExpr *AddRec) {
cast<ConstantUInt>(ConstantExpr::getCast(SqrtTerm,
SqrtTerm->getType()->getUnsignedVersion()));
uint64_t SqrtValV = SqrtVal->getValue();
- uint64_t SqrtValV2 = (uint64_t)sqrtl(SqrtValV);
+ uint64_t SqrtValV2 = (uint64_t)sqrt(SqrtValV);
// The square root might not be precise for arbitrary 64-bit integer
// values. Do some sanity checks to ensure it's correct.
if (SqrtValV2*SqrtValV2 > SqrtValV ||
OpenPOWER on IntegriCloud