Scary typo that fixes Regression/Transforms/IndVarsSimplify/2005-02-17-TruncateExprCr...
authorChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2005 16:54:16 +0000 (16:54 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2005 16:54:16 +0000 (16:54 +0000)
and PR515.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20224 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp

index 2ea42f4c787678aedcdf563a15588ea9457f93d7..a47bf0d34855e13ac72f61b3f4c1d36adcf2f53b 100644 (file)
@@ -224,7 +224,7 @@ static std::map<std::pair<SCEV*, const Type*>,
                 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!");