mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-03 10:19:25 +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…
Reference in New Issue
Block a user