commit | ee08da89565714ca143d4754f167e3277974fc19 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Wed May 06 18:00:56 2009 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Wed May 06 18:00:56 2009 +0000 |
tree | 6fc5bbb0eb0d67405119460b6fb6ee0765aced2b | |
parent | e19c840d6c6fe075b61a21a0f6abe338afba666d [diff] [blame] |
Unbreak the build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71091 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 9e6f2b0..f441968 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -2030,7 +2030,7 @@ 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.