[llvm-commits] [llvm] r71091 - /llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Evan Cheng evan.cheng at apple.com
Wed May 6 11:01:15 PDT 2009


Author: evancheng
Date: Wed May  6 13:00:56 2009
New Revision: 71091

URL: http://llvm.org/viewvc/llvm-project?rev=71091&view=rev
Log:
Unbreak the build.

Modified:
    llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp?rev=71091&r1=71090&r2=71091&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp Wed May  6 13:00:56 2009
@@ -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.





More information about the llvm-commits mailing list