From: Evan Cheng Date: Wed, 6 May 2009 18:00:56 +0000 (+0000) Subject: Unbreak the build. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ee08da89565714ca143d4754f167e3277974fc19;p=oota-llvm.git 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 9e6f2b02bc8..f441968d92d 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.