mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
fix SimplifyLibCalls/IsDigit.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36047 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
894cfffea1
commit
83ae2fcacc
@ -1571,7 +1571,7 @@ public:
|
|||||||
ConstantInt::get(V->getType(), 128),
|
ConstantInt::get(V->getType(), 128),
|
||||||
V->getName()+".isascii", CI);
|
V->getName()+".isascii", CI);
|
||||||
if (Cmp->getType() != CI->getType())
|
if (Cmp->getType() != CI->getType())
|
||||||
Cmp = new BitCastInst(Cmp, CI->getType(), Cmp->getName(), CI);
|
Cmp = new ZExtInst(Cmp, CI->getType(), Cmp->getName(), CI);
|
||||||
return ReplaceCallWith(CI, Cmp);
|
return ReplaceCallWith(CI, Cmp);
|
||||||
}
|
}
|
||||||
} isasciiOptimizer;
|
} isasciiOptimizer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user