forked from OSchip/llvm-project
Scary typo that fixes Regression/Transforms/IndVarsSimplify/2005-02-17-TruncateExprCrash.ll
and PR515. llvm-svn: 20224
This commit is contained in:
parent
02fd7d1d56
commit
47555decfb
|
@ -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!");
|
||||
|
|
Loading…
Reference in New Issue