fix SimplifyLibCalls/IsDigit.ll

llvm-svn: 36047
This commit is contained in:
Chris Lattner 2007-04-15 05:38:40 +00:00
parent ae81c8880a
commit f8a7bf317e
1 changed files with 1 additions and 1 deletions

View File

@ -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;