summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-04-26 22:49:48 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-04-26 22:49:48 +0000
commitf8c03d9db69f7d157d4fefb7b21ecd2f0fbe763d (patch)
tree26be54776fe05ec2e157e478b865f01552e04f2e /llvm/lib/Transforms
parentaaca1708672d0917aadaad5580c709bde89b2d9a (diff)
downloadbcm5719-llvm-f8c03d9db69f7d157d4fefb7b21ecd2f0fbe763d.tar.gz
bcm5719-llvm-f8c03d9db69f7d157d4fefb7b21ecd2f0fbe763d.zip
No, seriously folks, memcpy really does return void.
llvm-svn: 21575
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 a776d38dc55..656cbfc6bdc 100644
--- a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
+++ b/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
@@ -535,7 +535,7 @@ public:
{
// Just make sure this has 4 arguments per LLVM spec.
return (f->arg_size() == 4) &&
- (f->getReturnType() == PointerType::get(Type::VoidTy));
+ (f->getReturnType() == Type::VoidTy);
}
/// Because of alignment and instruction information that we don't have, we
OpenPOWER on IntegriCloud