diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-15 05:38:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-15 05:38:40 +0000 |
commit | 83ae2fcacc34675c4a1bb862bc651f03de31f7e7 (patch) | |
tree | dd13ad552c36395de5518b5cd046cdb7355172b2 /lib/Transforms/IPO/SimplifyLibCalls.cpp | |
parent | 894cfffea16384d0121d9a50a5e7ba2be3dd2fa7 (diff) |
fix SimplifyLibCalls/IsDigit.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36047 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/SimplifyLibCalls.cpp')
-rw-r--r-- | lib/Transforms/IPO/SimplifyLibCalls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/SimplifyLibCalls.cpp b/lib/Transforms/IPO/SimplifyLibCalls.cpp index b7b5bee1eb..5900a0254f 100644 --- a/lib/Transforms/IPO/SimplifyLibCalls.cpp +++ b/lib/Transforms/IPO/SimplifyLibCalls.cpp @@ -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; |