diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-04-05 19:05:15 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-04-05 19:05:15 +0000 |
| commit | d4f78f270bc686795c48b8925cea7ffa0341283f (patch) | |
| tree | 1f9604958a59db730954b0ce2beaaab495a6f396 /llvm/lib/Analysis | |
| parent | 5ebc25c818582c90b731107b1982cde465065041 (diff) | |
| download | bcm5719-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.cpp | 2 |
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 || |

