summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-19 18:15:50 +0000
committerChris Lattner <sabre@nondot.org>2004-06-19 18:15:50 +0000
commit4027500e1c56d3e380f2272691349236caddb9cb (patch)
tree12a63cd6a527cb46f4120bdfb829ad25cecf05ef /llvm/lib
parentec2d34cc19f872923db740080cf8e8544d4e760e (diff)
downloadbcm5719-llvm-4027500e1c56d3e380f2272691349236caddb9cb.tar.gz
bcm5719-llvm-4027500e1c56d3e380f2272691349236caddb9cb.zip
Fix a nasty bug, noticed by Reid
llvm-svn: 14249
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/Scalar/IndVarSimplify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
index 5d737e2b194..ea50f3e4c9c 100644
--- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud