commit | bae7d6dbeb842b5ed051c50a87bc282f2dec6e1f | [log] [tgz] |
---|---|---|
author | Dale Johannesen <dalej@apple.com> | Thu May 14 16:47:34 2009 +0000 |
committer | Dale Johannesen <dalej@apple.com> | Thu May 14 16:47:34 2009 +0000 |
tree | 0467edfd217354acabb336a3cf32d5c2c54f93c6 | |
parent | 06261cd8829201ebee21648d6ba9a6735f80725b [diff] [blame] |
Use abs64 in one more place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71775 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@ // 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;