mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 15:51:54 +00:00
Scary typo that fixes Regression/Transforms/IndVarsSimplify/2005-02-17-TruncateExprCrash.ll
and PR515. llvm-svn: 20224
This commit is contained in:
parent
c966cc25a3
commit
2198bb53ee
@ -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…
x
Reference in New Issue
Block a user