Scary typo that fixes Regression/Transforms/IndVarsSimplify/2005-02-17-TruncateExprCrash.ll

and PR515.

llvm-svn: 20224
This commit is contained in:
Chris Lattner 2005-02-17 16:54:16 +00:00
parent 02fd7d1d56
commit 47555decfb
1 changed files with 1 additions and 1 deletions

View 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!");