[llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Feb 17 08:54:29 PST 2005



Changes in directory llvm/lib/Analysis:

ScalarEvolution.cpp updated: 1.32 -> 1.33
---
Log message:

Scary typo that fixes Regression/Transforms/IndVarsSimplify/2005-02-17-TruncateExprCrash.ll
and PR515: http://llvm.cs.uiuc.edu/PR515 .


---
Diffs of the changes:  (+1 -1)

 ScalarEvolution.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Analysis/ScalarEvolution.cpp
diff -u llvm/lib/Analysis/ScalarEvolution.cpp:1.32 llvm/lib/Analysis/ScalarEvolution.cpp:1.33
--- llvm/lib/Analysis/ScalarEvolution.cpp:1.32	Sat Feb 12 22:37:18 2005
+++ llvm/lib/Analysis/ScalarEvolution.cpp	Thu Feb 17 10:54:16 2005
@@ -224,7 +224,7 @@
                 SCEVZeroExtendExpr*> SCEVZeroExtends;
 
 SCEVZeroExtendExpr::SCEVZeroExtendExpr(const SCEVHandle &op, const Type *ty)
-  : SCEV(scTruncate), Op(Op), Ty(ty) {
+  : SCEV(scTruncate), Op(op), Ty(ty) {
   assert(Op->getType()->isInteger() && Ty->isInteger() &&
          Ty->isUnsigned() &&
          "Cannot zero extend non-integer value!");






More information about the llvm-commits mailing list