projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e19c840
)
Unbreak the build.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 6 May 2009 18:00:56 +0000
(18:00 +0000)
committer
Evan 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
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 9e6f2b02bc8cbd8842886d83bf3dbd5fa7ff13cc..f441968d92d080117b58c8512b926759d30147ef 100644
(file)
--- 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.