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 | 342053cd2767d8a07fe0e73737c00089c3ffba5c (patch) | |
| tree | b1981b02cedd266dd04d4000a35ee595c914cdf5 /llvm/lib/Transforms | |
| parent | 0dec5b9a7563334abd3c7e28cff4d6d38bb5a913 (diff) | |
| download | bcm5719-llvm-342053cd2767d8a07fe0e73737c00089c3ffba5c.tar.gz bcm5719-llvm-342053cd2767d8a07fe0e73737c00089c3ffba5c.zip | |
Unbreak the build.
llvm-svn: 71091
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 9e6f2b02bc8..f441968d92d 100644 --- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/llvm/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. |

