[llvm-commits] CVS: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Jun 19 13:23:01 PDT 2004
Changes in directory llvm/lib/Transforms/Scalar:
IndVarSimplify.cpp updated: 1.64 -> 1.65
---
Log message:
Fix a nasty bug, noticed by Reid
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
diff -u llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.64 llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.65
--- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.64 Fri Apr 23 16:29:48 2004
+++ llvm/lib/Transforms/Scalar/IndVarSimplify.cpp Sat Jun 19 13:15:50 2004
@@ -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);
}
More information about the llvm-commits
mailing list