summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-15 05:38:40 +0000
committerChris Lattner <sabre@nondot.org>2007-04-15 05:38:40 +0000
commitf8a7bf317e3b54aebd3d05ef34b425f56ca950b9 (patch)
treef4e1166f4a942073c68108e3967d185ac9fc8985 /llvm/lib/Transforms
parentae81c8880afdbedd39dcc0a5107b4caf994c1a91 (diff)
downloadbcm5719-llvm-f8a7bf317e3b54aebd3d05ef34b425f56ca950b9.tar.gz
bcm5719-llvm-f8a7bf317e3b54aebd3d05ef34b425f56ca950b9.zip
fix SimplifyLibCalls/IsDigit.ll
llvm-svn: 36047
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp b/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
index b7b5bee1eb2..5900a0254fc 100644
--- a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud