diff options
author | Chris Lattner <sabre@nondot.org> | 2005-02-17 16:54:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-02-17 16:54:16 +0000 |
commit | 2352fec2054c89c9720f014936e9f7a685894ccb (patch) | |
tree | c2488fc183e1115418b5b8246a34a809af528251 /lib/Analysis/ScalarEvolution.cpp | |
parent | 491a1b87d59a7e99bd4856e9b3166a94b6d2491d (diff) |
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
Diffstat (limited to 'lib/Analysis/ScalarEvolution.cpp')
-rw-r--r-- | lib/Analysis/ScalarEvolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 2ea42f4c78..a47bf0d348 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -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!"); |