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:
edb8433
)
Fix a nasty bug, noticed by Reid
author
Chris Lattner
<sabre@nondot.org>
Sat, 19 Jun 2004 18:15:50 +0000
(18:15 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 19 Jun 2004 18:15:50 +0000
(18:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14249
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/IndVarSimplify.cpp
b/lib/Transforms/Scalar/IndVarSimplify.cpp
index 5d737e2b194df1ee36e75b1155ab0b94c3f45689..ea50f3e4c9c2a7bcbbc505033cd2e2de003f0e0e 100644
(file)
--- a/
lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/
lib/Transforms/Scalar/IndVarSimplify.cpp
@@
-165,7
+165,7
@@
namespace {
}
Value *visitZeroExtendExpr(SCEVZeroExtendExpr *S) {
- Value *V = expandInTy(S->getOperand(),
V
->getType()->getUnsignedVersion());
+ Value *V = expandInTy(S->getOperand(),
S
->getType()->getUnsignedVersion());
return new CastInst(V, S->getType(), "tmp.", InsertPt);
}