[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
Chris Lattner
sabre at nondot.org
Sat Apr 14 22:39:02 PDT 2007
Changes in directory llvm/lib/Transforms/IPO:
SimplifyLibCalls.cpp updated: 1.111 -> 1.112
---
Log message:
fix SimplifyLibCalls/IsDigit.ll
---
Diffs of the changes: (+1 -1)
SimplifyLibCalls.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
diff -u llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.111 llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.112
--- llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.111 Fri Apr 13 20:17:48 2007
+++ llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp Sun Apr 15 00:38:40 2007
@@ -1571,7 +1571,7 @@
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;
More information about the llvm-commits
mailing list