summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-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