mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-22 00:37:49 +00:00
Fix a nasty bug, noticed by Reid
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14249 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
edb8433c91
commit
2b994c7206
@ -165,7 +165,7 @@ namespace {
|
||||
}
|
||||
|
||||
Value *visitZeroExtendExpr(SCEVZeroExtendExpr *S) {
|
||||
Value *V = expandInTy(S->getOperand(),V->getType()->getUnsignedVersion());
|
||||
Value *V = expandInTy(S->getOperand(),S->getType()->getUnsignedVersion());
|
||||
return new CastInst(V, S->getType(), "tmp.", InsertPt);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user