mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 23:29:20 +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),
|
||||
V->getName()+".isascii", CI);
|
||||
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);
|
||||
}
|
||||
} isasciiOptimizer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user