Unbreak the build.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 6 May 2009 18:00:56 +0000 (18:00 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 6 May 2009 18:00:56 +0000 (18:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71091 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopStrengthReduce.cpp

index 9e6f2b02bc8cbd8842886d83bf3dbd5fa7ff13cc..f441968d92d080117b58c8512b926759d30147ef 100644 (file)
@@ -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.