aboutsummaryrefslogtreecommitdiff
path: root/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
commit47a3785062cfc336e31d84b293c752f01d166d92 (patch)
tree0e0023cfca52dd0133c4a631f1374cf4f39263a7 /lib/Transforms
parenta525f6d8f556a05cc453621adc8e0bd785c30123 (diff)
No, seriously folks, memcpy really does return void.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/IPO/SimplifyLibCalls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/SimplifyLibCalls.cpp b/lib/Transforms/IPO/SimplifyLibCalls.cpp
index a776d38dc5..656cbfc6bd 100644
--- a/lib/Transforms/IPO/SimplifyLibCalls.cpp
+++ b/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