[llvm-branch-commits] [llvm-branch] r71541 - /llvm/branches/Apple/Dib/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Bill Wendling
isanbard at gmail.com
Mon May 11 22:55:30 PDT 2009
Author: void
Date: Tue May 12 00:55:30 2009
New Revision: 71541
URL: http://llvm.org/viewvc/llvm-project?rev=71541&view=rev
Log:
Merge in r71091.
Modified:
llvm/branches/Apple/Dib/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Modified: llvm/branches/Apple/Dib/lib/Transforms/Scalar/LoopStrengthReduce.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Dib/lib/Transforms/Scalar/LoopStrengthReduce.cpp?rev=71541&r1=71540&r2=71541&view=diff
==============================================================================
--- llvm/branches/Apple/Dib/lib/Transforms/Scalar/LoopStrengthReduce.cpp (original)
+++ llvm/branches/Apple/Dib/lib/Transforms/Scalar/LoopStrengthReduce.cpp Tue May 12 00:55:30 2009
@@ -2075,7 +2075,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-branch-commits
mailing list