From: Chris Lattner Date: Thu, 17 Feb 2005 16:54:16 +0000 (+0000) Subject: Scary typo that fixes Regression/Transforms/IndVarsSimplify/2005-02-17-TruncateExprCr... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2352fec2054c89c9720f014936e9f7a685894ccb;p=oota-llvm.git Scary typo that fixes Regression/Transforms/IndVarsSimplify/2005-02-17-TruncateExprCrash.ll and PR515. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20224 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 2ea42f4c787..a47bf0d3485 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -224,7 +224,7 @@ static std::map, 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!");