commit | 2b994c7206b3872d908468fc926ba8db483cf0a3 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jun 19 18:15:50 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jun 19 18:15:50 2004 +0000 |
tree | c09261e26333f3d957814c28f329f74ae495752b | |
parent | edb8433c917d97c237832954135e785b8c84f045 [diff] |
Fix a nasty bug, noticed by Reid git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14249 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/IndVarSimplify.cpp b/lib/Transforms/Scalar/IndVarSimplify.cpp index 5d737e2..ea50f3e 100644 --- a/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/lib/Transforms/Scalar/IndVarSimplify.cpp
@@ -165,7 +165,7 @@ } 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); }