diff options
author | Dale Johannesen <dalej@apple.com> | 2009-05-14 16:47:34 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-05-14 16:47:34 +0000 |
commit | bae7d6dbeb842b5ed051c50a87bc282f2dec6e1f (patch) | |
tree | 0467edfd217354acabb336a3cf32d5c2c54f93c6 /lib | |
parent | 06261cd8829201ebee21648d6ba9a6735f80725b (diff) | |
download | external_llvm-bae7d6dbeb842b5ed051c50a87bc282f2dec6e1f.zip external_llvm-bae7d6dbeb842b5ed051c50a87bc282f2dec6e1f.tar.gz external_llvm-bae7d6dbeb842b5ed051c50a87bc282f2dec6e1f.tar.bz2 |
Use abs64 in one more place.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/Scalar/IndVarSimplify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/IndVarSimplify.cpp b/lib/Transforms/Scalar/IndVarSimplify.cpp index 80d34f6..2287f20 100644 --- a/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/lib/Transforms/Scalar/IndVarSimplify.cpp @@ -697,7 +697,7 @@ static bool useSIToFPInst(ConstantFP &InitV, ConstantFP &ExitV, // If the iteration range can be handled by SIToFPInst then use it. APInt Max = APInt::getSignedMaxValue(32); - if (Max.getZExtValue() > static_cast<uint64_t>(abs(intEV - intIV))) + if (Max.getZExtValue() > static_cast<uint64_t>(abs64(intEV - intIV))) return true; return false; |