diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-05-06 18:00:56 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-05-06 18:00:56 +0000 |
commit | ee08da89565714ca143d4754f167e3277974fc19 (patch) | |
tree | 6fc5bbb0eb0d67405119460b6fb6ee0765aced2b /lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
parent | e19c840d6c6fe075b61a21a0f6abe338afba666d (diff) |
Unbreak the build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71091 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopStrengthReduce.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 9e6f2b02bc..f441968d92 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -2030,7 +2030,7 @@ ICmpInst *LoopStrengthReduce::ChangeCompareStride(Loop *L, ICmpInst *Cond, APInt Mul = APInt(BitWidth*2, CmpVal, true); Mul = Mul * APInt(BitWidth*2, Scale, true); // Check for overflow. - if (!Mul.isSignedIntN(BitWidth)) { + if (!Mul.isSignedIntN(BitWidth)) continue; // Watch out for overflow. |